All of lore.kernel.org
 help / color / mirror / Atom feed
* Again: Fix multithread coredump deadlock (patch Manfred Spraul)
@ 2003-07-03  8:38 Kirill Korotaev
  2003-07-03 17:02 ` Manfred Spraul
  0 siblings, 1 reply; 2+ messages in thread
From: Kirill Korotaev @ 2003-07-03  8:38 UTC (permalink / raw)
  To: manfred; +Cc: linux-kernel

Hi!

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 
down_read())?

Kirill


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-07-03 16:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-03  8:38 Again: Fix multithread coredump deadlock (patch Manfred Spraul) Kirill Korotaev
2003-07-03 17:02 ` Manfred Spraul

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.