freebsd-dev/sys/compat
Matthew Dillon 06ae1e91c4 This brings in a Yahoo coredump patch from Paul, with additional mods by
me (addition of vn_rdwr_inchunks).  The problem Yahoo is solving is that
if you have large process images core dumping, or you have a large number of
forked processes all core dumping at the same time, the original coredump code
would leave the vnode locked throughout.  This can cause the directory vnode
to get locked up, which can cause the parent directory vnode to get locked
up, and so on all the way to the root node, locking the entire machine up
for extremely long periods of time.

This patch solves the problem in two ways.  First it uses an advisory
non-blocking lock to abort multiple processes trying to core to the same
file.  Second (my contribution) it chunks up the writes and uses bwillwrite()
to avoid holding the vnode locked while blocking in the buffer cache.

Submitted by:	ps
Reviewed by:	dillon
MFC after:	2 weeks
2001-09-08 20:02:33 +00:00
..
linprocfs o Replace calls to p_can(..., P_CAN_xxx) with calls to p_canxxx(). 2001-07-05 17:10:46 +00:00
linux Round of cleanups and enhancements. These include (in random order): 2001-09-08 19:07:04 +00:00
netbsd Use queue macros. 2001-01-24 00:01:42 +00:00
pecoff This brings in a Yahoo coredump patch from Paul, with additional mods by 2001-09-08 20:02:33 +00:00
svr4 Synchronize syscalls.master(s) with recent Giant pushdown work 2001-09-01 19:36:48 +00:00