freebsd-nq/sys
Konstantin Belousov e65f5a4ead The non-modifying EA VOPs are executed with only shared vnode lock taken.
Provide a custom lock around initializing and tearing down EA area,
to prevent both memory leaks and double-free of it. Count the number
of EA area accessors.

Lock protocol requires either holding exclusive vnode lock to modify
i_ea_area, or shared vnode lock and owning IN_EA_LOCKED flag in i_flag.

Noted by:	YAMAMOTO, Taku <taku tackymt homeip net>
Tested by:	pho (previous version)
MFC after:	2 weeks
2009-03-12 12:43:56 +00:00
..
amd64 Merge in support for Xen HVM on amd64 architecture. 2009-03-11 15:30:12 +00:00
arm switch to !legacy usb stack 2009-03-11 00:12:45 +00:00
boot - Make it possible to disable GPT support by setting LOADER_NO_GPT_SUPPORT 2009-03-09 17:16:29 +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 GCC attacks! 2009-02-16 18:02:32 +00:00
cddl Add a new internal mount flag (MNTK_EXTENDED_SHARED) to indicate that a 2009-03-11 14:13:47 +00:00
compat o change a lock model based on HAL preemption lock to a normal mtx. 2009-03-12 02:51:55 +00:00
conf Merge in support for Xen HVM on amd64 architecture. 2009-03-11 15:30:12 +00:00
contrib For all files including net/vnet.h directly include opt_route.h and 2009-02-27 14:12:05 +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 Move the deactivation of the device's BAR to before the loop where we 2009-03-12 08:42:27 +00:00
fs Add a new internal mount flag (MNTK_EXTENDED_SHARED) to indicate that a 2009-03-11 14:13:47 +00:00
gdb
geom Move the PC98_[MS]ID_* defines from g_part_pc98.c to diskpc98.h. 2009-03-11 13:15:42 +00:00
gnu Don't declare bin_search() as an inline function, since there's no 2009-03-08 06:14:33 +00:00
i386 Merge in support for Xen HVM on amd64 architecture. 2009-03-11 15:30:12 +00:00
ia64 Change over the usb kernel options to the new stack (retaining existing 2009-02-23 18:34:56 +00:00
isa Allow syscons to work on amd64 and i386 without any hints: 2009-03-05 19:10:17 +00:00
kern Ensure that the semaphore value is re-checked after sem_lock 2009-03-12 10:36:39 +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 make loop clearer that it isn't a mistake... 2009-03-03 19:22:24 +00:00
modules Import support for ATI Radeon R600 and R700 series chips. 2009-03-07 21:36:57 +00:00
net Disable zerocopy by default for now. It's causing some problems in pcap 2009-03-10 14:28:19 +00:00
net80211 add the desired channel to the scan list if not already present and 2009-03-04 22:05:25 +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 Add INP_INHASHLIST flag for inpcb->inp_flags to indicate whether 2009-03-11 00:29:22 +00:00
netinet6 On architectures with strict alignment requirements compensate 2009-03-07 19:08:58 +00:00
netipsec SAs are valid (but dying) when they reached soft lifetime, 2009-03-05 16:22:32 +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 Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +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 Last step of splitting up minor and unit numbers: remove minor(). 2009-01-28 17:57:16 +00:00
nfsclient - Remove code to set SAVENAME for CREATE or RENAME requests that get a -ve 2009-03-10 18:41:06 +00:00
nfsserver Include audit.h so that the system call path protected by NFS_LEGACYRPC 2009-02-23 23:04:15 +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 Make a 1:1 mapping between syscons stats and terminal emulators. 2009-03-10 11:28:54 +00:00
pci The callback takes a void *, not a caddr_t * (sic). 2009-03-03 18:54:57 +00:00
powerpc Change the PVO zone for fictitious pages to the unmanaged PVO zone, to match 2009-03-11 03:19:19 +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 Mark the bsdextended rules sysctl as being mpsafe. 2009-03-09 17:42:18 +00:00
sparc64 Uncomment txp(4), txp(4) should work on all architectures. 2009-03-12 01:17:35 +00:00
sun4v Change over the usb kernel options to the new stack (retaining existing 2009-02-23 18:34:56 +00:00
sys Add a new type of KTRACE record for sysctl(3) invocations. It uses the 2009-03-11 21:48:36 +00:00
tools Remove some unused and broken code that attempted to not invoke locking 2008-11-03 19:57:40 +00:00
ufs The non-modifying EA VOPs are executed with only shared vnode lock taken. 2009-03-12 12:43:56 +00:00
vm Adjust some variables (mostly related to the buffer cache) that hold 2009-03-09 19:35:20 +00:00
xdr Add memmove() to the kernel, making the kernel compile with Clang. 2009-02-28 16:21:25 +00:00
xen Merge in support for Xen HVM on amd64 architecture. 2009-03-11 15:30:12 +00:00
Makefile Removal pccard directory requires removing it from the list of things 2009-02-15 18:19:24 +00:00