Files
horinux/fs
Oleg Nesterov 269b005a28 coredump: shift down_write(mmap_sem) into coredump_wait()
- move the cprm.mm_flags checks up, before we take mmap_sem

- move down_write(mmap_sem) and ->core_state check from do_coredump()
  to coredump_wait()

This simplifies the code and makes the locking symmetrical.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: David Howells <dhowells@redhat.com>
Cc: Neil Horman <nhorman@tuxdriver.com>
Cc: Roland McGrath <roland@redhat.com>
Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-05-27 09:12:45 -07:00
..
2010-05-27 09:12:41 -07:00
2010-04-30 14:52:51 -05:00
…
2010-05-25 08:07:04 -07:00
2010-05-21 18:31:20 -04:00
2010-05-17 05:27:42 +02:00
…
2010-05-25 08:07:03 -07:00
…
2010-05-21 18:31:16 -04:00
2010-05-25 08:07:07 -07:00
…
…
…
2010-05-21 18:31:16 -04:00
2010-05-21 18:31:16 -04:00
2010-05-11 17:43:58 +02:00
2010-05-21 21:27:26 +02:00
…
2010-05-21 18:31:16 -04:00
…
…
2010-05-21 18:31:17 -04:00
…
2010-05-21 18:31:22 -04:00
2010-05-18 08:57:00 +10:00
…
2010-05-21 18:31:17 -04:00
…
…
…
…
…
…
2010-05-21 18:31:17 -04:00
…