NetBSD/sys/miscfs
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
..
deadfs ANSIfy another 1261 function definitions. 2009-03-14 21:04:01 +00:00
fdesc More changes to improve kern_descrip.c. 2009-05-24 21:41:25 +00:00
fifofs
genfs Extract the open-coded authorization logic for chtimes() from various 2009-05-07 19:30:29 +00:00
kernfs ansify function definitions 2009-03-15 17:14:40 +00:00
nullfs Change about 4500 of the K&R function definitions to ANSI ones. 2009-03-14 15:35:58 +00:00
overlay PR kern/40110: null, overlay and umap modules loading -> panic (layerfs symbols not there) 2008-12-05 13:05:37 +00:00
portal More changes to improve kern_descrip.c. 2009-05-24 21:41:25 +00:00
procfs More changes to improve kern_descrip.c. 2009-05-24 21:41:25 +00:00
specfs - Rearrange pg_delete() and pg_remove() (renamed pg_free), thus 2009-04-25 15:06:31 +00:00
syncfs ansify function definitions 2009-03-15 17:14:40 +00:00
umapfs ansify function definitions 2009-03-15 17:14:40 +00:00
Makefile