summaryrefslogtreecommitdiff
path: root/include/linux/ip.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2002-12-01 16:29:39 -0800
committerGreg Kroah-Hartman <greg@kroah.com>2002-12-01 16:29:39 -0800
commit8a0611595372910f0ead55d294a48a89136b7006 (patch)
tree81b0ab7c29568112f8d53479b27fd1576af785cf /include/linux/ip.h
parentfe43697ec79a56d0421930fd068202fc1012b1a8 (diff)
[PATCH] tcore-fixes-2.5.50-E6
This fixes threaded coredumps and streamlines the code. The old code caused crashes and hung coredumps. The new code has been tested for some time already and appears to be robust. Changes: - the code now uses completions instead of a semaphore and a waitqueue, attached to mm_struct: /* coredumping support */ int core_waiters; struct completion *core_startup_done, core_done; - extended the completion concept with a 'complete all' call - all pending threads are woken up in that case. - core_waiters is a plain integer now - it's always accessed from under the mmap_sem. It's also used as the fastpath-check in the sys_exit() path, instead of ->dumpable (which was incorrect). - got rid of the ->core_waiter task flag - it's not needed anymore.
Diffstat (limited to 'include/linux/ip.h')
0 files changed, 0 insertions, 0 deletions