lkml.org 
[lkml]   [1999]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectdo_fork() observation

hi all

aren;t the two lines at fork.c:do_fork():bad_fork swapped? everyplace
else seems to unlock_kernel() before releasing mmap_sem, and i thought
you had to release locks in the reverse order they were acquired...
or does something funny happen during the forking process?

--
-----------------------------------------------------------------------------
Ray Lehtiniemi (rayl@mail.com)


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

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