Re: Deadlock on the mm->mmap_sem

David Howells (dhowells@redhat.com)
Thu, 20 Sep 2001 09:01:13 +0100


Andrea Arcangeli <andrea@suse.de> wrote:
> the process doesn't need to lock multiple mm_structs at the same time.

fork, ptrace, /proc/pid/mem, /proc/pid/maps

All have to be able to lock two process's mm_structs simultaneously, even if
it's indirectly through copy_to_user() or copy_from_user().

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