NetBSD/sys/compat/svr4_32
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_32 Make the emulations, exec formats, coredump, NFS, and the NFS server 2008-11-19 18:35:57 +00:00
Makefile Use ${TOOL_SED} instead if plain sed in Makefiles. 2008-10-25 22:27:34 +00:00
sed.script Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
svr4_32_acl.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_32_dirent.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_32_exec_elf32.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_32_exec.c Make the emulations, exec formats, coredump, NFS, and the NFS server 2008-11-19 18:35:57 +00:00
svr4_32_exec.h Make the emulations, exec formats, coredump, NFS, and the NFS server 2008-11-19 18:35:57 +00:00
svr4_32_fcntl.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_32_fcntl.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_32_filio.c More changes to improve kern_descrip.c. 2009-05-24 21:41:25 +00:00
svr4_32_fuser.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_32_hrt.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_32_ioctl.c ANSIfy another 1261 function definitions. 2009-03-14 21:04:01 +00:00
svr4_32_ioctl.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_32_ipc.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_32_ipc.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_32_lwp.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_32_lwp.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_32_misc.c Follow christos-time_t merge. 2009-01-11 13:14:14 +00:00
svr4_32_mod.c Make the emulations, exec formats, coredump, NFS, and the NFS server 2008-11-19 18:35:57 +00:00
svr4_32_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_32_resource.c - add new RLIMIT_AS (aka RLIMIT_VMEM) resource that limits the total 2009-03-29 01:02:48 +00:00
svr4_32_resource.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_32_schedctl.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_32_schedctl.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_32_siginfo.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_32_signal.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_32_signal.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_32_socket.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_32_socket.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_32_sockio.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_32_sockio.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_32_stat.c Follow christos-time_t merge. 2009-01-11 13:14:14 +00:00
svr4_32_stat.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_32_statvfs.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_32_stream.c Add some 'magic' defines so that we can build the svr4_32 version of this 2007-06-02 21:39:27 +00:00
svr4_32_stropts.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_32_syscall.h Regen to prove I didn't screw up the conversion: purely RCSID changes. 2009-01-13 22:33:11 +00:00
svr4_32_syscallargs.h Regen to prove I didn't screw up the conversion: purely RCSID changes. 2009-01-13 22:33:11 +00:00
svr4_32_syscalls.c Regen to prove I didn't screw up the conversion: purely RCSID changes. 2009-01-13 22:33:11 +00:00
svr4_32_sysent.c Regen to prove I didn't screw up the conversion: purely RCSID changes. 2009-01-13 22:33:11 +00:00
svr4_32_termios.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_32_termios.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_32_time.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_32_timod.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_32_types.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_32_ucontext.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_32_ustat.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
svr4_32_util.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