> 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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to