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
..
Makefile
files.svr4_32 Make the emulations, exec formats, coredump, NFS, and the NFS server 2008-11-19 18:35:57 +00:00
sed.script
svr4_32_acl.h
svr4_32_dirent.h
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_exec_elf32.c
svr4_32_fcntl.c
svr4_32_fcntl.h
svr4_32_filio.c More changes to improve kern_descrip.c. 2009-05-24 21:41:25 +00:00
svr4_32_fuser.h
svr4_32_hrt.h
svr4_32_ioctl.c ANSIfy another 1261 function definitions. 2009-03-14 21:04:01 +00:00
svr4_32_ioctl.h
svr4_32_ipc.c
svr4_32_ipc.h
svr4_32_lwp.c
svr4_32_lwp.h
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
svr4_32_schedctl.c
svr4_32_schedctl.h
svr4_32_siginfo.h
svr4_32_signal.c
svr4_32_signal.h
svr4_32_socket.c
svr4_32_socket.h
svr4_32_sockio.c
svr4_32_sockio.h
svr4_32_stat.c Follow christos-time_t merge. 2009-01-11 13:14:14 +00:00
svr4_32_stat.h
svr4_32_statvfs.h
svr4_32_stream.c
svr4_32_stropts.h
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
svr4_32_termios.h
svr4_32_time.h
svr4_32_timod.h
svr4_32_types.h
svr4_32_ucontext.h
svr4_32_ustat.h
svr4_32_util.h
syscalls.conf
syscalls.master Convert the syscalls.master to a format from which it is easier 2009-01-13 22:27:43 +00:00