freebsd-nq/sys
Jeffrey Hsu 34c54d9f74 Rewrite the SMP filedesc locking in knote_attach() in order to
1.  eliminate unnecessary loop which frees and re-allocates
	the just allocated array
  2.  eliminate the newsize recomputation
  3.  eliminate unnecessary unlock and relock around free
  4.  correctly match the free with the malloc into M_KQUEUE instead of M_TEMP
  5.  eliminate conditional assignment of oldlist, which is equivalent to a
	simple assignment
  6.  eliminate the oldlist temporary variable completely

Reviewed by:    jhb
2003-01-21 04:05:49 +00:00
..
alpha Resolve relative relocations in klds before trying to parse the module's 2003-01-21 02:42:44 +00:00
amd64 Resolve relative relocations in klds before trying to parse the module's 2003-01-21 02:42:44 +00:00
arm MB_LEN_MAX is not MD, move it to the MI limits.h. 2002-12-22 06:38:45 +00:00
boot Use NEXTDOSPART instead of MAX_SLICES. 2003-01-20 11:15:12 +00:00
cam Add definitions for the task management codes sent in SPI4 2003-01-20 18:05:46 +00:00
coda Back our kernel support for reliable signal queues. 2002-10-01 17:15:53 +00:00
compat Add missing #include 2003-01-14 21:31:31 +00:00
conf Move NODEVFS and NO_GEOM to opt_global.h. 2003-01-19 10:02:47 +00:00
contrib SMP locking for ifnet list. 2002-12-22 05:35:03 +00:00
crypto make rc4 crypto support a module so other modules can depend on it 2003-01-15 19:55:17 +00:00
ddb Revert previous and move the prototype for db_alt_break to ddb.h. 2002-12-31 18:30:53 +00:00
dev Fix a missed goal.period -> goal.offset change. In 2003-01-20 23:51:18 +00:00
fs GC an unused reference to vop_refreshlabel_desc; reference to 2003-01-21 04:05:37 +00:00
geom disk_dev_synth() is a NO_GEOM hack. 2003-01-20 11:29:07 +00:00
gnu Since Jeffr made the std* functions the default in rev 1.63 of 2003-01-04 08:47:19 +00:00
i4b Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
i386 Resolve relative relocations in klds before trying to parse the module's 2003-01-21 02:42:44 +00:00
ia64 Resolve relative relocations in klds before trying to parse the module's 2003-01-21 02:42:44 +00:00
isa Make the SC_NO_SUSPEND_VTYSWITCH kernel option available as a loader 2003-01-15 03:45:27 +00:00
isofs/cd9660 Temporarily introduce a new VOP_SPECSTRATEGY operation while I try 2003-01-04 22:10:36 +00:00
kern Rewrite the SMP filedesc locking in knote_attach() in order to 2003-01-21 04:05:49 +00:00
libkern Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
modules Remove miidevs.h and generate it from miidevs at compile time. 2003-01-19 02:59:34 +00:00
net o add BIOCGDLTLIST and BIOCSDLT ioctls to get the data link type list 2003-01-20 19:08:46 +00:00
netatalk Lock up ifaddr reference counts. 2002-12-18 11:46:59 +00:00
netatm Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
netgraph Bow to the whining masses and change a union back into void *. Retain 2003-01-13 00:33:17 +00:00
netinet De-anonymity a couple of messages I missed in a previous sweep. 2003-01-20 13:03:34 +00:00
netinet6 "struct route" is not sufficient. NetBSD PR 18751 2003-01-08 17:59:24 +00:00
netipsec o handle jumbograms in m_clone 2003-01-09 05:30:25 +00:00
netipx Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
netkey "struct route" is not sufficient. NetBSD PR 18751 2003-01-08 17:59:24 +00:00
netnatm Be consistent about functions being static. 2002-10-16 09:19:17 +00:00
netncp - Change mb_copy_t to take a size_t as the length argument instead of an 2002-11-08 21:26:32 +00:00
netns Use m_length() instead of home-rolled versions. 2002-09-18 19:44:14 +00:00
netsmb Bow to the whining masses and change a union back into void *. Retain 2003-01-13 00:33:17 +00:00
nfs Change iov_base's type from char *' to the standard void *'. All 2002-10-11 14:58:34 +00:00
nfsclient Since Jeffr made the std* functions the default in rev 1.63 of 2003-01-04 08:47:19 +00:00
nfsserver Bow to the whining masses and change a union back into void *. Retain 2003-01-13 00:33:17 +00:00
opencrypto Bow to the whining masses and change a union back into void *. Retain 2003-01-13 00:33:17 +00:00
pc98 #ifdef NO_GEOM these files entirely. When NO_GEOM is removed as an 2003-01-19 11:51:35 +00:00
pccard Merge from P4: 2003-01-04 17:26:35 +00:00
pci Complete the support of the on-board xl(4) on nVidia nForce2 mobo's. 2003-01-19 04:47:54 +00:00
posix4 Use copyout to access user memory. 2003-01-07 20:10:04 +00:00
powerpc Resolve relative relocations in klds before trying to parse the module's 2003-01-21 02:42:44 +00:00
rpc
security Bow to the whining masses and change a union back into void *. Retain 2003-01-13 00:33:17 +00:00
sparc64 Resolve relative relocations in klds before trying to parse the module's 2003-01-21 02:42:44 +00:00
sys Resolve relative relocations in klds before trying to parse the module's 2003-01-21 02:42:44 +00:00
tools Remove miidevs.h and generate it from miidevs at compile time. 2003-01-19 02:59:34 +00:00
ufs Bow to the whining masses and change a union back into void *. Retain 2003-01-13 00:33:17 +00:00
vm Fix swapping to a file, it was broken when SPECSTRATEGY was introduced. 2003-01-20 20:00:32 +00:00
Makefile