Re: bug in scsi.c

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon Dec 11 2000 - 19:14:10 EST


> In sched.c, function daemonize, line 1216 you call exit_mm.

Yep

> time, it has to segvault. If I am not wrong at this point CLONE_VM simply
> has to be removed from kernel_thread. The kernel-thread will free his mem
> in daemonize (calling exit_mm) and the user-space-application will free
> the mem when exiting.

Providing the use counter is being bumped properly it wont go away any more
than if a thread of a user space app exits before the others as far as I can
see

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



This archive was generated by hypermail 2b29 : Fri Dec 15 2000 - 21:00:23 EST