NetBSD/sys
itohy fa5465079f Slightly improved version of ffs(3).
Partially from SHIMIZU Ryo <ryo@iij.ad.jp>.  Thanks.
Some cases are slower, but other most cases are faster.

Here's a benchmark on SH-4 200MHz.

return value	C version	previous vers	this version	speed ratio
of ffs()	(ns/call) *1	(ns/call)	(ns/call) *2	(*1/*2)
------------	------------	-------------	------------	-----------
 0		  86		 86		 81		1.06
 1		 110		 86		106 *(slower)	1.04
 2		 132		 86		106 *		1.25
 3		 165		105		117 *		1.41
 4		 201		104		116 *		1.73
 5		 237		111		107		2.21
 6		 271		111		106		2.56
 7		 307		126		116		2.65
 8		 342		125		116		2.95
 9		 376		122		126 *		2.98
10		 410		121		127 *		3.23
11		 446		139		136		3.28
12		 483		140		134		3.60
13		 518		146		125		4.14
14		 551		146		126		4.37
15		 587		161		135		4.35
16		 624		162		136		4.59
17		 658		141		139		4.73
18		 694		142		140		4.96
19		 727		160		148		4.91
20		 764		161		150		5.09
21		 799		167		141		5.67
22		 834		167		142		5.87
23		 868		181		152		5.71
24		 903		181		153		5.90
25		 939		146		140		6.71
26		 974		146		141		6.91
27		1009		166		152		6.64
28		1044		165		148		7.05
29		1080		171		141		7.66
30		1115		171		141		7.91
31		1151		185		151		7.62
32		1185		186		151		7.85
2002-08-28 15:34:35 +00:00
..
adosfs _PC_MAX_CANON and _PC_MAX_INPUT aren't really filesystem-specific in NetBSD. 2002-08-04 05:42:43 +00:00
altq
arch RAS support for i386. 2002-08-28 09:47:15 +00:00
coda
compat Implement passing AT_{E,R}{U,G}ID in the elf aux vector, like solaris. 2002-08-26 21:05:59 +00:00
conf Bump version for rasctl syscall. 2002-08-28 07:28:53 +00:00
crypto
ddb Another item on the TODO list: 2002-08-26 11:35:22 +00:00
dev Fix playback at 48kHz sample rate (integer overflow bug introduced in 1.18) 2002-08-28 10:51:03 +00:00
filecorefs
fs
gdbscripts
ipkdb
isofs
kern Attempt to protect restartable atomic sequences of a traced process 2002-08-28 07:27:14 +00:00
lib Slightly improved version of ffs(3). 2002-08-28 15:34:35 +00:00
lkm make this compile again (thanks mrg) 2002-08-27 14:18:41 +00:00
miscfs Fix a signed/unsigned comparison warning from GCC 3.3. 2002-08-26 01:26:29 +00:00
msdosfs
net Attach another DLTs for bpf: DLT_IEEE802_11 to capture raw 802.11 frame. 2002-08-28 09:38:08 +00:00
netatalk
netccitt
netinet Fix a problem introduced in rev 1.103, where we recycle a TIME_WAIT 2002-08-28 02:23:57 +00:00
netinet6 pass proc * to in6_pcbsetport. PR 18073 2002-08-26 14:25:00 +00:00
netisdn
netiso avoid swapping endian of ip_len and ip_off on mbuf, to meet with M_LEADINGSPACE 2002-08-14 00:23:27 +00:00
netkey should return error code from key_senderror(). sync w/kame 2002-08-20 08:17:02 +00:00
netnatm
netns avoid swapping endian of ip_len and ip_off on mbuf, to meet with M_LEADINGSPACE 2002-08-14 00:23:27 +00:00
netsmb
nfs s/FREE/PNBUF_PUT/ 2002-08-23 05:38:51 +00:00
ntfs
stand
sys Bump version for rasctl syscall. 2002-08-28 07:28:53 +00:00
ufs Make nbuf, nswbuf, and bufpages unsigned. Make all operations on these 2002-08-25 20:21:33 +00:00
uvm In amap_ref, only increment the amap's refcnt after we have established 2002-08-22 23:39:37 +00:00
Makefile