freebsd-dev/sys
Marko Zec 1ed81b739e First pass at separating per-vnet initializer functions
from existing functions for initializing global state.

        At this stage, the new per-vnet initializer functions are
	directly called from the existing global initialization code,
	which should in most cases result in compiler inlining those
	new functions, hence yielding a near-zero functional change.

        Modify the existing initializer functions which are invoked via
        protosw, like ip_init() et. al., to allow them to be invoked
	multiple times, i.e. per each vnet.  Global state, if any,
	is initialized only if such functions are called within the
	context of vnet0, which will be determined via the
	IS_DEFAULT_VNET(curvnet) check (currently always true).

        While here, V_irtualize a few remaining global UMA zones
        used by net/netinet/netipsec networking code.  While it is
        not yet clear to me or anybody else whether this is the right
        thing to do, at this stage this makes the code more readable,
        and makes it easier to track uncollected UMA-zone-backed
        objects on vnet removal.  In the long run, it's quite possible
        that some form of shared use of UMA zone pools among multiple
        vnets should be considered.

	Bump __FreeBSD_version due to changes in layout of structs
	vnet_ipfw, vnet_inet and vnet_net.

Approved by:	julian (mentor)
2009-04-06 22:29:41 +00:00
..
amd64 Fix KBI breakage by r190520 which affects older linux.ko binaries: 2009-04-05 09:27:19 +00:00
arm MFp4 //depot/projects/usb@159992 2009-04-05 18:21:40 +00:00
boot Probe size of installed memory modules from loader and display it 2009-03-31 21:02:55 +00:00
bsm Merge OpenBSM 1.1 beta 1 from OpenBSM vendor branch to head, both 2009-03-02 13:29:18 +00:00
cam Add interleaving root hold tokens from the CAM probe to disk_create and geom 2009-04-03 19:49:33 +00:00
cddl Add a how argument to root_mount_hold() so it can be passed NOWAIT and be called 2009-04-03 19:46:12 +00:00
compat MFp4 //depot/projects/usb@159909 2009-04-05 18:20:38 +00:00
conf Remove usb_sw_transfer.[ch] which are now empty after r190735. 2009-04-06 00:32:54 +00:00
contrib Add uath(4) wireless USB driver for Atheros AR5005UG and AR5005UX 2009-04-04 11:23:00 +00:00
crypto identify routine takes driver_t *, not device_t *. 2009-02-05 19:30:28 +00:00
ddb Prefer prototypes to k&r definitions. 2009-03-09 13:32:19 +00:00
dev Reduce the dcons polling frequency to 25 Hz. 2009-04-06 13:09:02 +00:00
fs Do not use null_bypass for VOP_ISLOCKED, directly call default 2009-03-18 13:54:35 +00:00
gdb
geom Add interleaving root hold tokens from the CAM probe to disk_create and geom 2009-04-03 19:49:33 +00:00
gnu Fix two issues with bufdaemon, often causing the processes to hang in 2009-03-16 15:39:46 +00:00
i386 Fix KBI breakage by r190520 which affects older linux.ko binaries: 2009-04-05 09:27:19 +00:00
ia64 Fix KBI breakage by r190520 which affects older linux.ko binaries: 2009-04-05 09:27:19 +00:00
isa Allow syscons to work on amd64 and i386 without any hints: 2009-03-05 19:10:17 +00:00
kern Add SDT DTrace probes for namei(): 2009-04-06 10:32:40 +00:00
kgssapi Call svc_freereq() before returning from the service proc. 2008-11-12 15:31:05 +00:00
legacy/dev remove now-redunant cardbus attachment lines. 2009-03-09 13:25:34 +00:00
libkern Add memmove() to the kernel, making the kernel compile with Clang. 2009-02-28 16:21:25 +00:00
mips Fix KBI breakage by r190520 which affects older linux.ko binaries: 2009-04-05 09:27:19 +00:00
modules Add opt_kdtrace.h to fix standalone module build. 2009-04-06 20:17:28 +00:00
net First pass at separating per-vnet initializer functions 2009-04-06 22:29:41 +00:00
net80211 fix whitespace 2009-04-03 20:46:32 +00:00
netatalk Remove local variable 'ddp' from DDP's attach and detach routines; they 2009-02-04 20:04:32 +00:00
netgraph Make Netgraph compile with Clang. 2009-03-03 18:47:33 +00:00
netinet First pass at separating per-vnet initializer functions 2009-04-06 22:29:41 +00:00
netinet6 First pass at separating per-vnet initializer functions 2009-04-06 22:29:41 +00:00
netipsec First pass at separating per-vnet initializer functions 2009-04-06 22:29:41 +00:00
netipx Add missing "goto set_head" for SO_IPX_CHECKSUM; otherwise we fall through 2008-12-11 10:29:35 +00:00
netnatm Remove IFF_NEEDSGIANT, a compatibility infrastructure introduced 2009-03-15 14:21:05 +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
nfs4client When a stale file handle is encountered, purge all cached information about 2009-04-06 21:11:08 +00:00
nfsclient When a stale file handle is encountered, purge all cached information about 2009-04-06 21:11:08 +00:00
nfsserver Fix an mbuf leak in the error path. 2009-03-19 14:13:18 +00:00
nlm Don't call svc_freereq() before svc_freeargs(). 2008-11-12 15:30:30 +00:00
opencrypto Fix return type for detach routine (should be int) 2009-02-05 17:43:12 +00:00
pc98 MFi386: r190447 2009-03-27 03:45:42 +00:00
pci intpm: minor enhancements 2009-03-16 16:15:14 +00:00
powerpc Fix the build when KDB is disabled. The second instance of rfi in 2009-04-05 21:52:13 +00:00
rpc Use the correct creds when reconnecting so that we have enough privilege to 2009-02-05 11:48:10 +00:00
security Get rid of VSTAT and replace it with VSTAT_PERMS, which is somewhat 2009-03-29 17:45:48 +00:00
sparc64 Fix KBI breakage by r190520 which affects older linux.ko binaries: 2009-04-05 09:27:19 +00:00
sun4v - There's no need to wrap kdb_active and kdb_trap() in #ifdef KDB as 2009-03-19 20:46:51 +00:00
sys First pass at separating per-vnet initializer functions 2009-04-06 22:29:41 +00:00
tools Add SDT DTrace probes for VFS vnode operations in the vfs:vop 2009-03-29 03:30:15 +00:00
ufs When removing or renaming snaphost, do not delve into request_cleanup(). 2009-04-04 12:19:52 +00:00
vm Retire VM_PROT_READ_IS_EXEC. It was intended to be a micro-optimization, 2009-04-04 23:12:14 +00:00
xdr Add memmove() to the kernel, making the kernel compile with Clang. 2009-02-28 16:21:25 +00:00
xen Fix the Xen build for i386 PV mode. 2009-04-01 17:06:28 +00:00
Makefile Removal pccard directory requires removing it from the list of things 2009-02-15 18:19:24 +00:00