Messages in this thread | | | Subject | Re: bug in scsi.c | Date | Tue, 12 Dec 2000 00:14:10 +0000 (GMT) | From | Alan Cox <> |
| |
> 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/
| |