NetBSD/dist
ad d991fcb3b6 More changes to improve kern_descrip.c.
- Avoid atomics in more places.
- Remove the per-descriptor mutex, and just use filedesc_t::fd_lock.
  It was only being used to synchronize close, and in any case we needed
  to take fd_lock to free the descriptor slot.
- Optimize certain paths for the <NDFDFILE case.
- Sprinkle more comments and assertions.
- Cache more stuff in filedesc_t.
- Fix numerous minor bugs spotted along the way.
- Restructure how the open files array is maintained, for clarity and so
  that we can eliminate the membar_consumer() call in fd_getfile().  This is
  mostly syntactic sugar; the main functional change is that fd_nfiles now
  lives alongside the open file array.

Some measurements with libmicro:

- simple file syscalls are like close() are between 1 to 10% faster.
- some nice improvements, e.g. poll(1000) which is ~50% faster.
2009-05-24 21:41:25 +00:00
..
bzip2 Resolve -Wcast-qual issues. 2009-04-11 11:10:43 +00:00
dhcp Get rid of a spurious dereference in DHCPRELEASE. 2008-02-26 05:03:29 +00:00
file add a NetBSD_DISABLED_* target for config.h.in. 2009-04-19 10:22:10 +00:00
ipf More changes to improve kern_descrip.c. 2009-05-24 21:41:25 +00:00
iscsi Sort SEE ALSO. 2009-05-18 14:11:30 +00:00
libpcap add a volatile variable to prevent vfork/longjmp clobbering. 2006-10-15 19:27:21 +00:00
nawk In is_number(), do not check strtod() result against HUGE_VAL which 2009-03-12 13:04:01 +00:00
ntp Fix CVE-2009-1252: Buffer overflow in ntpd crypto code. A remote 2009-05-20 01:37:36 +00:00
nvi fix reliability issue. 2009-04-19 02:28:19 +00:00
openpam Correctly use linksets with PCC too. 2008-08-29 00:35:25 +00:00
pdisk Now that we have strnlen() in libc, get rid of the local 2009-05-10 22:03:22 +00:00
pf Fix roff formatting for -> 2009-04-24 16:48:58 +00:00
pppd New sentence, new line. 2009-05-04 19:52:34 +00:00
smbfs Remove gcc comma-eliminating variadic macro. Prefer __func__. 2008-06-27 02:09:49 +00:00
tcpdump Use ${TOOL_SED} instead if plain sed in Makefiles. 2008-10-25 22:27:34 +00:00
wpa Use new way of associating, which fixes wpa with ral(4) 2009-05-13 11:57:16 +00:00