NetBSD/sys/compat/svr4
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
..
files.svr4 add a dummy implementation of the schedctl() syscall 2006-04-02 06:34:18 +00:00
Makefile merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
svr4_acl.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_dirent.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_errno.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_errno.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_exec_elf32.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_exec_elf64.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_exec.c Make the emulations, exec formats, coredump, NFS, and the NFS server 2008-11-19 18:35:57 +00:00
svr4_exec.h Make the emulations, exec formats, coredump, NFS, and the NFS server 2008-11-19 18:35:57 +00:00
svr4_fcntl.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_fcntl.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_filio.c More changes to improve kern_descrip.c. 2009-05-24 21:41:25 +00:00
svr4_filio.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_fuser.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_hrt.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_ioctl.c ANSIfy another 1261 function definitions. 2009-03-14 21:04:01 +00:00
svr4_ioctl.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_ipc.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_ipc.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_lwp.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_lwp.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_misc.c merge christos-time_t 2009-01-11 02:45:45 +00:00
svr4_mman.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_mod.c Make the emulations, exec formats, coredump, NFS, and the NFS server 2008-11-19 18:35:57 +00:00
svr4_net.c Add fileops::fo_drain(), to be called from fd_close() when there is more 2009-04-04 10:12:51 +00:00
svr4_resource.c - add new RLIMIT_AS (aka RLIMIT_VMEM) resource that limits the total 2009-03-29 01:02:48 +00:00
svr4_resource.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_schedctl.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_schedctl.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_siginfo.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_signal.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_signal.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_signo.c Minor typo in license 2008-05-10 11:49:37 +00:00
svr4_socket.c make this compile 2009-01-11 10:47:37 +00:00
svr4_socket.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_sockio.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_sockio.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_sockmod.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_stat.c merge christos-time_t 2009-01-11 02:45:45 +00:00
svr4_stat.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_statvfs.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_stream.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_stropts.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_syscall.h Regen to prove I didn't screw up the conversion: purely RCSID changes. 2009-01-13 22:33:11 +00:00
svr4_syscallargs.h Regen to prove I didn't screw up the conversion: purely RCSID changes. 2009-01-13 22:33:11 +00:00
svr4_syscalls.c Regen to prove I didn't screw up the conversion: purely RCSID changes. 2009-01-13 22:33:11 +00:00
svr4_sysconfig.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_sysent.c Regen to prove I didn't screw up the conversion: purely RCSID changes. 2009-01-13 22:33:11 +00:00
svr4_systeminfo.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_termios.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_termios.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_time.h merge christos-time_t 2009-01-11 02:45:45 +00:00
svr4_timod.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_ttold.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_ttold.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_types.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_ucontext.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_ulimit.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_ustat.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_util.h Make the emulations, exec formats, coredump, NFS, and the NFS server 2008-11-19 18:35:57 +00:00
svr4_utsname.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_wait.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
syscalls.conf
syscalls.master Convert the syscalls.master to a format from which it is easier 2009-01-13 22:27:43 +00:00