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

From: Neil Brown (neilb@cse.unsw.edu.au)
Date: Sat Jun 07 2003 - 00:33:26 EST


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/



This archive was generated by hypermail 2b29 : Sat Jun 07 2003 - 22:00:32 EST