freebsd-skq/sys
kib 6d46d7b7ab Schedule garbage collection run for the in-flight rights passed over
the unix domain sockets to the next tick, coalescing the serial calls
until the collection fires.  The thought is that more work for the
collector could arise in the near time, allowing to clean more and not
spend too much CPU on repeated collection when there is no garbage.

Currently the collection task is fired immediately upon unix domain
socket close if there are any rights in flight, which caused excessive
CPU usage and too long blocking of the threads waiting for
unp_list_lock and unp_link_rwlock in write mode.

Robert noted that it would be nice if we could find some heuristic by
which we decide whether to run GC a bit more quickly.  E.g., if the
number of UNIX domain sockets is close to its resource limit, but not
quite.

Reported and tested by:	Markus Gebert <markus.gebert@hostpoint.ch>
Reviewed by:	rwatson
MFC after:	2 weeks
2012-11-20 15:45:48 +00:00
..
amd64 Move the declaration of vm_phys_paddr_to_vm_page() from vm/vm_page.h 2012-11-16 05:55:56 +00:00
arm Correctly use spaces here. 2012-11-18 14:05:28 +00:00
boot Fix build after r243245. 2012-11-19 19:31:54 +00:00
bsm Add the wait6(2) system call. It takes POSIX waitid()-like process 2012-11-13 12:52:31 +00:00
cam Use information about suported diagnostic pages to avoid reading optional 2012-11-07 23:12:53 +00:00
cddl zfs_remove: assert that delete_now case is never true on FreeBSD 2012-11-19 11:30:08 +00:00
compat Style fixes for r242958. 2012-11-16 06:22:14 +00:00
conf Add UFS writesuspension mechanism, designed to allow userland processes 2012-11-18 18:57:19 +00:00
contrib Return port numbers for ATCA-7220 SPI interfaces in a different place for 2012-11-19 08:35:58 +00:00
crypto Revert previous commit... 2012-10-10 08:36:38 +00:00
ddb Small textdump enhancements. 2012-11-01 04:07:08 +00:00
dev - Don't pass geom and provider names as format strings. 2012-11-20 12:32:18 +00:00
fs Remove the check and panic for an impossible condition. The NULL 2012-11-20 15:25:00 +00:00
gdb
geom - Don't pass geom and provider names as format strings. 2012-11-20 12:32:18 +00:00
gnu/fs r16312 is not any longer real since many years (likely since when VFS 2012-11-19 22:43:45 +00:00
i386 Fix a minor warning in sys/i386/xen/clock.c. 2012-11-12 20:50:11 +00:00
ia64 Flip the semantic of M_NOWAIT to only require the allocation to not 2012-11-14 20:01:40 +00:00
isa
kern Schedule garbage collection run for the in-flight rights passed over 2012-11-20 15:45:48 +00:00
kgssapi
libkern Sync strlcpy with userland version. 2012-11-03 04:29:24 +00:00
mips Prevent hang on ATCA-7220 when transmitting packets < 60 bytes. 2012-11-19 08:30:29 +00:00
modules Fix module build after r243245. 2012-11-20 15:23:22 +00:00
net Fix up a compile time warning if INET6 isn't defined. 2012-11-18 04:51:46 +00:00
net80211 Add some further BAR TX debugging; it was useful when figuring out 2012-10-28 04:18:49 +00:00
netatalk
netgraph Switch the entire IPv4 stack to keep the IP packet header 2012-10-22 21:09:03 +00:00
netinet Add support for SCTP/UDP/IPV6. 2012-11-17 20:04:04 +00:00
netinet6 Remove opt_inet.h, it isn't required here. 2012-11-20 14:09:37 +00:00
netipsec Do not reduce ip_len by size of IP header in the ip_input() 2012-10-23 08:33:13 +00:00
netipx
netnatm
netncp Add characters mapping for codepages used in Germany. 2012-06-01 03:59:08 +00:00
netpfil Simplify sending keepalives. 2012-11-09 18:23:38 +00:00
netsmb Fix panic due to page faults while in kernel mode, under conditions of 2012-10-31 03:34:07 +00:00
nfs Add two new options to the nfssvc(2) syscall that allow 2012-10-14 22:33:17 +00:00
nfsclient r16312 is not any longer real since many years (likely since when VFS 2012-11-19 22:43:45 +00:00
nfsserver Remove the support for using non-mpsafe filesystem modules. 2012-10-22 17:50:54 +00:00
nlm Remove the support for using non-mpsafe filesystem modules. 2012-10-22 17:50:54 +00:00
ofed Redo r242842, now actually fixing the warnings, as follows: 2012-11-12 22:01:29 +00:00
opencrypto Revert previous commit... 2012-10-10 08:36:38 +00:00
pc98 Reduce diffs against i386. 2012-11-10 13:48:41 +00:00
pci Remove duplicate const specifiers in many drivers (I hope I got all of 2012-11-05 19:16:27 +00:00
powerpc Flip the semantic of M_NOWAIT to only require the allocation to not 2012-11-14 20:01:40 +00:00
rpc Modify the comment to take out the names and URL. 2012-10-25 19:30:58 +00:00
security Remove the support for using non-mpsafe filesystem modules. 2012-10-22 17:50:54 +00:00
sparc64 Move the declaration of vm_phys_paddr_to_vm_page() from vm/vm_page.h 2012-11-16 05:55:56 +00:00
sys In pget(9), if PGET_NOTWEXIT flag is not specified, also search the 2012-11-16 08:25:06 +00:00
teken
tools Revert previous commit... 2012-10-10 08:36:38 +00:00
ufs r16312 is not any longer real since many years (likely since when VFS 2012-11-19 22:43:45 +00:00
vm - Don't pass geom and provider names as format strings. 2012-11-20 12:32:18 +00:00
x86 Provide the reading and display of the Standard Extended Features, 2012-11-01 15:14:37 +00:00
xdr
xen Move the corresponding MTX_SYSINIT() next to their struct mtx declaration 2012-10-26 17:31:35 +00:00
Makefile