1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00
freebsd/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
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
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
crypto make rc4 crypto support a module so other modules can depend on it 2003-01-15 19:55:17 +00:00
ddb
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
i4b
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
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
netatm
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
netkey "struct route" is not sufficient. NetBSD PR 18751 2003-01-08 17:59:24 +00:00
netnatm
netncp
netns
netsmb Bow to the whining masses and change a union back into void *. Retain 2003-01-13 00:33:17 +00:00
nfs
nfsclient
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
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