Anton Blanchard <[EMAIL PROTECTED]> writes: >> It is possible for one task to end up "owning" an mm from another - we >> have seen this with the procfs code when process 1 accesses >> /proc/pid/cmdline of process 2 while it is exiting. Process 2 exits >> but does not tear its mm down. Later on process 1 finishes with the proc >> file and the mm gets torn down at this point.
On Wed, Jan 26, 2005 at 07:44:24AM +0100, Andi Kleen wrote: > IMHO that's the root bug. That sounds really dangerous and will likely > cause other problems because it is totally unexpected. How about fixing > /proc to not do this? It would not be meaningful. It's a natural outcome of reference counting the mm, /proc/ is far from the only place that acquires references on mm's, and they're all necessary. -- wli - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/