freebsd-nq/sys
Attilio Rao 1abcdbd127 When user_frac in the polling subsystem is low it is going to busy the
CPU for too long period than necessary.  Additively, interfaces are kept
polled (in the tick) even if no more packets are available.
In order to avoid such situations a new generic mechanism can be
implemented in proactive way, keeping track of the time spent on any
packet and fragmenting the time for any tick, stopping the processing
as soon as possible.

In order to implement such mechanism, the polling handler needs to
change, returning the number of packets processed.
While the intended logic is not part of this patch, the polling KPI is
broken by this commit, adding an int return value and the new flag
IFCAP_POLLING_NOCOUNT (which will signal that the return value is
meaningless for the installed handler and checking should be skipped).

Bump __FreeBSD_version in order to signal such situation.

Reviewed by:	emaste
Sponsored by:	Sandvine Incorporated
2009-05-30 15:14:44 +00:00
..
amd64 Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
arm When user_frac in the polling subsystem is low it is going to busy the 2009-05-30 15:14:44 +00:00
boot Some of the boot loader code only works on a ufs file system, but it 2009-05-28 08:22:36 +00:00
bsm Merge OpenBSM 1.1 from OpenBSM vendor branch to head. 2009-04-19 16:17:13 +00:00
cam Remove dead code. 2009-05-12 16:38:32 +00:00
cddl Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
compat Attempt to fix build by updating hostid to follow the new world order. 2009-05-30 07:33:32 +00:00
conf Migrate the Xen hypervisor clock reading routines into something 2009-05-29 13:36:06 +00:00
contrib Add hierarchical jails. A jail may further virtualize its environment 2009-05-27 14:11:23 +00:00
crypto Changed to M_NOWAIT when reallocing psc_buf in padlock_sha_update(), 2009-05-27 09:52:12 +00:00
ddb Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
dev When user_frac in the polling subsystem is low it is going to busy the 2009-05-30 15:14:44 +00:00
fs Add VOP_ACCESSX, which can be used to query for newly added V* 2009-05-30 13:59:05 +00:00
gdb
geom Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
gnu Remove empty files and do nto try to build them. 2009-05-18 17:20:24 +00:00
i386 Don't schedule a CALL_FUNCTION_VECTOR software IPI if the IPI was signaled 2009-05-30 14:59:08 +00:00
ia64 Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
isa Rename statclock_disable variable to atrtcclock_disable that it actually is, 2009-05-03 17:47:21 +00:00
kern Add VOP_ACCESSX, which can be used to query for newly added V* 2009-05-30 13:59:05 +00:00
kgssapi Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
libkern Add memmove() to the kernel, making the kernel compile with Clang. 2009-02-28 16:21:25 +00:00
mips pmap_enter() *must* set PG_WRITEABLE on the given page if it creates a 2009-05-23 22:05:14 +00:00
modules Add the kernel build glue for the experimental NFS subsystem that 2009-05-28 19:45:11 +00:00
net When user_frac in the polling subsystem is low it is going to busy the 2009-05-30 15:14:44 +00:00
net80211 add ieee80211_isratevalid 2009-05-29 23:39:16 +00:00
netatalk Lock interface address list lock around ifaddr inserts and deletes 2009-04-19 22:01:38 +00:00
netgraph s/usb2_/usb_/ on all typedefs for the USB stack. 2009-05-29 18:46:57 +00:00
netinet Adds missing sysctl to manage the vtag_time_wait time. This will 2009-05-30 11:14:41 +00:00
netinet6 Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
netipsec Lock SPTREE before parsing it in key_spddump() 2009-05-27 09:44:14 +00:00
netipx Staticize spx_remque() now that it's only used from spx_reass.c. 2009-05-25 13:52:51 +00:00
netnatm Replace d_thread_t * with struct thread *. 2009-05-20 17:00:16 +00:00
netncp Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
netsmb Implement device cloning for /dev/nsmb, the netsmb control pseudo-device. 2008-11-03 14:23:15 +00:00
nfs Add cpu_flush_dcache() for use after non-DMA based I/O so that a 2009-05-18 18:37:18 +00:00
nfsclient Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
nfsserver Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
nlm Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
opencrypto Fix cryptodev UIO creation. 2009-05-23 13:23:46 +00:00
pc98 Add cpu_flush_dcache() for use after non-DMA based I/O so that a 2009-05-18 18:37:18 +00:00
pci When user_frac in the polling subsystem is low it is going to busy the 2009-05-30 15:14:44 +00:00
powerpc Set PG_WRITEABLE in Book-E pmap_enter[_locked] if it creates a mapping that 2009-05-26 06:24:50 +00:00
rpc Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
security Make the rmlock(9) interface a bit more like the rwlock(9) interface: 2009-05-29 10:52:37 +00:00
sparc64 Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
sun4v Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
sys When user_frac in the polling subsystem is low it is going to busy the 2009-05-30 15:14:44 +00:00
tools Add SDT DTrace probes for VFS vnode operations in the vfs:vop 2009-03-29 03:30:15 +00:00
ufs Add hierarchical jails. A jail may further virtualize its environment 2009-05-27 14:11:23 +00:00
vm Change vm_object_page_remove() such that it clears the page's dirty bits 2009-05-28 07:26:36 +00:00
xdr MFdevbranch 192944 2009-05-28 08:18:12 +00:00
xen Make ipi_cpu() function as intended. 2009-05-30 08:53:13 +00:00
Makefile Remove the unmaintained University of Michigan NFSv4 client from 8.x 2009-05-22 12:35:12 +00:00