NetBSD/sys/compat/netbsd32
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.netbsd32 merge christos-time_t 2009-01-11 02:45:45 +00:00
netbsd32.h Fix dev_t alignment, by not using the new 64bit value directly but 2009-03-16 20:48:13 +00:00
netbsd32_compat_09.c
netbsd32_compat_10.c merge christos-time_t 2009-01-11 02:45:45 +00:00
netbsd32_compat_12.c Cleanup. Kill a few netbsd32_caddr_t in syscalls argument types. 2009-01-30 13:01:36 +00:00
netbsd32_compat_13.c
netbsd32_compat_14.c
netbsd32_compat_20.c
netbsd32_compat_30.c Make all fstat(2) compat syscalls consistently use do_sys_fstat(), 2009-01-26 13:00:04 +00:00
netbsd32_compat_43.c Cleanup. Kill a few netbsd32_caddr_t in syscalls argument types. 2009-01-30 13:01:36 +00:00
netbsd32_compat_50.c Move the internal poll/select related API's to use timespec instead 2009-03-29 19:21:19 +00:00
netbsd32_conv.h fix casts. 2009-01-25 01:22:42 +00:00
netbsd32_core.c
netbsd32_event.c merge christos-time_t 2009-01-11 02:45:45 +00:00
netbsd32_exec.h ansify function definition 2009-03-15 15:54:43 +00:00
netbsd32_exec_aout.c
netbsd32_exec_elf32.c if the interpreter is literally "/usr/libexec/ld.elf_so" or 2008-10-26 07:07:35 +00:00
netbsd32_execve.c
netbsd32_fs.c Make all fstat(2) compat syscalls consistently use do_sys_fstat(), 2009-01-26 13:00:04 +00:00
netbsd32_ioctl.c More changes to improve kern_descrip.c. 2009-05-24 21:41:25 +00:00
netbsd32_ioctl.h
netbsd32_ipc.c merge christos-time_t 2009-01-11 02:45:45 +00:00
netbsd32_lwp.c merge christos-time_t 2009-01-11 02:45:45 +00:00
netbsd32_mod.c Make the emulations, exec formats, coredump, NFS, and the NFS server 2008-11-19 18:35:57 +00:00
netbsd32_netbsd.c pad -> PAD. Fixes build problem reported by Paul Goyette in private email. 2009-05-17 05:57:01 +00:00
netbsd32_sa.c Revert accidental of some rogue changes which broke the build. 2009-01-21 10:01:42 +00:00
netbsd32_sa.h Merge wrstuden-revivesa into HEAD. Catch some files that I forgot 2008-10-15 06:52:38 +00:00
netbsd32_select.c Move the internal poll/select related API's to use timespec instead 2009-03-29 19:21:19 +00:00
netbsd32_sem.c Replace semid_t with intptr_t. No function change. This is a libc/kernel 2008-11-14 15:49:20 +00:00
netbsd32_signal.c merge christos-time_t 2009-01-11 02:45:45 +00:00
netbsd32_socket.c kill MALLOC and FREE macros. 2008-12-17 20:51:31 +00:00
netbsd32_syscall.h regen: pad -> PAD 2009-05-17 05:55:42 +00:00
netbsd32_syscallargs.h regen: pad -> PAD 2009-05-17 05:55:42 +00:00
netbsd32_syscalls.c regen: pad -> PAD 2009-05-17 05:55:42 +00:00
netbsd32_sysctl.c merge christos-time_t 2009-01-11 02:45:45 +00:00
netbsd32_sysctl.h Make the emulations, exec formats, coredump, NFS, and the NFS server 2008-11-19 18:35:57 +00:00
netbsd32_sysent.c regen: pad -> PAD 2009-05-17 05:55:42 +00:00
netbsd32_time.c fix kernel build with no options NTP 2009-02-26 21:08:48 +00:00
netbsd32_wait.c merge christos-time_t 2009-01-11 02:45:45 +00:00
syscalls.conf merge christos-time_t 2009-01-11 02:45:45 +00:00
syscalls.master pad -> PAD 2009-05-17 05:54:22 +00:00