freebsd-dev/sys
Luigi Rizzo 8241616dc5 This is an import of code, mostly from Giuseppe Lettieri,
that revises the netmap memory allocator so that the
various parameters (number and size of buffers, rings, descriptors)
can be modified at runtime through sysctl variables.
The changes become effective when no netmap clients are active.

The API is mostly unchanged, although the NIOCUNREGIF ioctl now
does not bring the interface back to normal mode: and you
need to close the file descriptor for that.
This change was necessary to track who is using the mapped region,
and since it is a simplification of the API there was no
incentive in trying to preserve NIOCUNREGIF.
We will remove the ioctl from the kernel next time we need
a real API change (and version bump).

Among other things, buffer allocation when opening devices is
now much faster: it used to take O(N^2) time, now it is linear.

Submitted by:	Giuseppe Lettieri
2012-10-19 04:13:12 +00:00
..
amd64 Print the %rip value for uprintf_signal. 2012-10-14 17:08:46 +00:00
arm Fix an mbuf leak in cpsw driver, clean up mbuf management: 2012-10-15 04:10:49 +00:00
boot Disconnect non-MPSAFE NTFS from the build in preparation for dropping 2012-10-17 11:30:00 +00:00
bsm
cam Add support for samsung HM250JI 2012-10-16 17:49:14 +00:00
cddl zfs: make use of getnewvnode_reserve in zfs_mknode and zfs_zget 2012-10-17 10:59:56 +00:00
compat Revert previous commit... 2012-10-10 08:36:38 +00:00
conf It seems that it is preferable to keep support for glabel also for 2012-10-18 22:18:11 +00:00
contrib Fix defines in r241245. We actually don't define FreeBSD. 2012-10-14 15:03:06 +00:00
crypto Revert previous commit... 2012-10-10 08:36:38 +00:00
ddb
dev This is an import of code, mostly from Giuseppe Lettieri, 2012-10-19 04:13:12 +00:00
fs Remove unneeded D_NEEDMINOR. 2012-10-18 19:28:31 +00:00
gdb
geom It seems that it is preferable to keep support for glabel also for 2012-10-18 22:18:11 +00:00
gnu/fs Add an unified macro to deny ability from the compiler to reorder 2012-10-09 14:32:30 +00:00
i386 MFamd64: add machdep.uprintf_signal. 2012-10-14 17:09:50 +00:00
ia64 Eliminate a stale comment. It describes another use case for the pmap in 2012-09-28 05:30:59 +00:00
isa
kern Remove unnecessary includes from sosend_copyin() and fix 2012-10-18 21:04:30 +00:00
kgssapi
libkern s/ is is / is /g 2012-09-14 22:00:03 +00:00
mips Disconnect non-MPSAFE NTFS from the build in preparation for dropping 2012-10-17 11:30:00 +00:00
modules It seems that it is preferable to keep support for glabel also for 2012-10-18 22:18:11 +00:00
net Use LOG_WARNING level in in_attachdomain1() instead of printf(). 2012-10-18 14:08:26 +00:00
net80211 Make the "struct if_clone" opaque to users of the cloning API. Users 2012-10-16 13:37:54 +00:00
netatalk
netgraph Mechanically remove the last stray remains of spl* calls from net*/*. 2012-10-18 13:57:24 +00:00
netinet Mechanically remove the last stray remains of spl* calls from net*/*. 2012-10-18 13:57:24 +00:00
netinet6 Mechanically remove the last stray remains of spl* calls from net*/*. 2012-10-18 13:57:24 +00:00
netipsec Mechanically remove the last stray remains of spl* calls from net*/*. 2012-10-18 13:57:24 +00:00
netipx
netnatm
netncp Add characters mapping for codepages used in Germany. 2012-06-01 03:59:08 +00:00
netpfil Make the "struct if_clone" opaque to users of the cloning API. Users 2012-10-16 13:37:54 +00:00
netsmb Change a duplicated check to clarify that we really want to set a 2012-07-10 21:02:59 +00:00
nfs Add two new options to the nfssvc(2) syscall that allow 2012-10-14 22:33:17 +00:00
nfsclient Do not leave invalid pages in the object after the short read for a 2012-08-14 11:45:47 +00:00
nfsserver Revert previous commit... 2012-10-10 08:36:38 +00:00
nlm Fix grammar. 2012-08-16 13:01:56 +00:00
ofed Take advantage of if_baudrate_pf and calculate an effective baud rate on 2012-10-18 15:44:27 +00:00
opencrypto Revert previous commit... 2012-10-10 08:36:38 +00:00
pc98 Add an unified macro to deny ability from the compiler to reorder 2012-10-09 14:32:30 +00:00
pci
powerpc Eliminate a stale comment. It describes another use case for the pmap in 2012-09-28 05:30:59 +00:00
rpc Add a comment describing why r241097 was done. 2012-10-15 13:38:25 +00:00
security Check vplabel for NULL before dereferencing it. Fixes a panic 2012-05-03 15:51:34 +00:00
sparc64 Add an unified macro to deny ability from the compiler to reorder 2012-10-09 14:32:30 +00:00
sys Disconnect non-MPSAFE SMBFS from the build in preparation for dropping 2012-10-18 12:04:56 +00:00
teken
tools Revert previous commit... 2012-10-10 08:36:38 +00:00
ufs Fix up kernel sources to be ready for a 64-bit ino_t. 2012-09-27 23:30:49 +00:00
vm Move vm_page_requeue() to the only file that uses it. 2012-10-13 20:19:43 +00:00
x86 Add an unified macro to deny ability from the compiler to reorder 2012-10-09 14:32:30 +00:00
xdr
xen
Makefile