do_fork() observation

Ray Lehtiniemi (rayl@netrover.com)
Tue, 12 Jan 1999 23:13:34 -0500


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/