NetBSD/sys/miscfs/procfs
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
..
Makefile
files.procfs
procfs.h Create sysctl entries during module initialisation and destroy them 2008-06-28 01:34:05 +00:00
procfs_cmdline.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
procfs_ctl.c ANSIfy another 1261 function definitions. 2009-03-14 21:04:01 +00:00
procfs_fd.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
procfs_fpregs.c
procfs_linux.c this change was somehow missed. 2009-01-11 03:16:33 +00:00
procfs_map.c merge christos-time_t 2009-01-11 02:45:45 +00:00
procfs_mem.c
procfs_note.c
procfs_regs.c
procfs_status.c merge christos-time_t 2009-01-11 02:45:45 +00:00
procfs_subr.c ansify function definitions 2009-03-15 17:14:40 +00:00
procfs_vfsops.c ansify function definitions 2009-03-15 17:14:40 +00:00
procfs_vnops.c More changes to improve kern_descrip.c. 2009-05-24 21:41:25 +00:00