Re: [PATCH] Add module_kernel_thread for threads that live in modules.

Neil Brown (neilb@cse.unsw.edu.au)
Sat, 7 Jun 2003 15:33:26 +1000


On Thursday June 5, andrey@morgon.mae.cornell.edu wrote:
> >
> > - /* Release module */
> > - unlock_kernel();
>
> You've locked the kernel and didn't unlock it.
>

This was just before the thread exited. When a thread exits it
automatically drops the kernel lock anyway. It seemed un-necessary to
explicitly unlock it aswell.

NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/