Again: Fix multithread coredump deadlock (patch Manfred Spraul)

From: Kirill Korotaev (
Date: Thu Jul 03 2003 - 03:38:10 EST


There was a patch some time ago included in linux-2.4.17-pre6 which fixed mmap
semaphore deadlock in do_coredump (double down_read() on mmap_sem).
This fix introduces down_write() on mmap_sem and uses get_user_pages()
function to avoid do_page_fault().
The question is why down_write() is used in elf_core_dump() (instead of


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Jul 07 2003 - 22:00:18 EST