lkml.org 
[lkml]   [2003]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Add module_kernel_thread for threads that live in modules.
Thanks for expalining that.

Andrey

On Sat, Jun 07, 2003 at 03:33:26PM +1000, Neil Brown wrote:
> 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

--
-------------------------------------------------------------
Andrey Klochko
System Administrator
Sibley School of Mechanical and Aerospace Engineering
288 Grumman Hall
Cornell University
Ithaca, NY 14853

e-mail: andrey@mae.cornell.edu
phone: 607-255-0360
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.038 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site