NetBSD/sys/kern
chs 64c6d1d2dc a whole bunch of changes to improve performance and robustness under load:
- remove special treatment of pager_map mappings in pmaps.  this is
   required now, since I've removed the globals that expose the address range.
   pager_map now uses pmap_kenter_pa() instead of pmap_enter(), so there's
   no longer any need to special-case it.
 - eliminate struct uvm_vnode by moving its fields into struct vnode.
 - rewrite the pageout path.  the pager is now responsible for handling the
   high-level requests instead of only getting control after a bunch of work
   has already been done on its behalf.  this will allow us to UBCify LFS,
   which needs tighter control over its pages than other filesystems do.
   writing a page to disk no longer requires making it read-only, which
   allows us to write wired pages without causing all kinds of havoc.
 - use a new PG_PAGEOUT flag to indicate that a page should be freed
   on behalf of the pagedaemon when it's unlocked.  this flag is very similar
   to PG_RELEASED, but unlike PG_RELEASED, PG_PAGEOUT can be cleared if the
   pageout fails due to eg. an indirect-block buffer being locked.
   this allows us to remove the "version" field from struct vm_page,
   and together with shrinking "loan_count" from 32 bits to 16,
   struct vm_page is now 4 bytes smaller.
 - no longer use PG_RELEASED for swap-backed pages.  if the page is busy
   because it's being paged out, we can't release the swap slot to be
   reallocated until that write is complete, but unlike with vnodes we
   don't keep a count of in-progress writes so there's no good way to
   know when the write is done.  instead, when we need to free a busy
   swap-backed page, just sleep until we can get it busy ourselves.
 - implement a fast-path for extending writes which allows us to avoid
   zeroing new pages.  this substantially reduces cpu usage.
 - encapsulate the data used by the genfs code in a struct genfs_node,
   which must be the first element of the filesystem-specific vnode data
   for filesystems which use genfs_{get,put}pages().
 - eliminate many of the UVM pagerops, since they aren't needed anymore
   now that the pager "put" operation is a higher-level operation.
 - enhance the genfs code to allow NFS to use the genfs_{get,put}pages
   instead of a modified copy.
 - clean up struct vnode by removing all the fields that used to be used by
   the vfs_cluster.c code (which we don't use anymore with UBC).
 - remove kmem_object and mb_object since they were useless.
   instead of allocating pages to these objects, we now just allocate
   pages with no object.  such pages are mapped in the kernel until they
   are freed, so we can use the mapping to find the page to free it.
   this allows us to remove splvm() protection in several places.

The sum of all these changes improves write throughput on my
decstation 5000/200 to within 1% of the rate of NetBSD 1.5
and reduces the elapsed time for "make release" of a NetBSD 1.5
source tree on my 128MB pc to 10% less than a 1.5 kernel took.
2001-09-15 20:36:31 +00:00
..
Make.tags.inc use ${.CURDIR:H:H} instead of ../.. for default setting of SYSDIR, 2001-04-18 11:21:24 +00:00
Makefile
cnmagic.c
exec_aout.c
exec_conf.c add mach/macho exec struct 2001-07-14 02:06:34 +00:00
exec_ecoff.c
exec_elf32.c simplify an expression. 2001-07-29 21:24:23 +00:00
exec_elf64.c
exec_elf_common.c
exec_macho.c use be32toh instead of bswap32 2001-07-14 03:05:31 +00:00
exec_script.c In check_exec(), don't bother checking P_TRACED along with 2001-06-15 17:24:19 +00:00
exec_subr.c - add exec_read_from and make exec_elf32 use it. 2001-07-14 02:08:29 +00:00
genassym.awk
genassym.sh
genlintstub.awk Add a /* LINTSTUB: include <foo.h> */ mechanism. 2001-05-16 04:17:04 +00:00
init_main.c user maps are always pageable. 2001-08-16 01:37:50 +00:00
init_sysent.c Regen; added Linux-compatible clone(2) system call. 2001-07-01 18:07:33 +00:00
kern_acct.c
kern_allocsys.c Defopt CALLWHEEL_STATS. 2001-09-13 05:22:16 +00:00
kern_clock.c Defopt CALLWHEEL_STATS. 2001-09-13 05:22:16 +00:00
kern_descrip.c Unshare the file descriptor table and `cwdinfo' when we exec. 2001-07-18 05:34:37 +00:00
kern_exec.c - make copyargs function return the reason it failed and pass a pointer to 2001-07-29 21:22:42 +00:00
kern_exit.c Add `WALLSIG' which causes wait4(2) to wait for all processes, regardless 2001-07-18 19:10:26 +00:00
kern_fork.c flags was used uninitialized. 2001-07-07 23:33:54 +00:00
kern_kthread.c
kern_ktrace.c Fix a partial construction problem that can cause race conditions 2001-06-14 20:32:41 +00:00
kern_lkm.c add a DEBUG for why the lkm entry point failed. 2001-06-05 12:36:08 +00:00
kern_lock.c synchron*, not sychron* 2001-07-08 17:41:14 +00:00
kern_malloc.c a whole bunch of changes to improve performance and robustness under load: 2001-09-15 20:36:31 +00:00
kern_malloc_debug.c a whole bunch of changes to improve performance and robustness under load: 2001-09-15 20:36:31 +00:00
kern_ntptime.c
kern_physio.c a whole bunch of changes to improve performance and robustness under load: 2001-09-15 20:36:31 +00:00
kern_proc.c
kern_prot.c
kern_resource.c
kern_sig.c Unshare signal actions on exec. 2001-07-18 05:34:58 +00:00
kern_subr.c Make "reboot" an option at the root device/filesystem prompt (we 2001-05-27 01:29:50 +00:00
kern_synch.c don't define bpendtsleep in profiling kernels since it confuses gprof. 2001-05-28 22:20:03 +00:00
kern_sysctl.c add a new VFS op, vfs_reinit, which is called when desiredvnodes is 2001-09-15 16:12:54 +00:00
kern_time.c Lower interrupt priortiy properly if setting the setting the kernel time 2001-06-11 07:07:12 +00:00
kern_xxx.c
kgdb_stub.c Disable single step when entering KGDB. S-S will be enabled later if 2001-07-07 22:58:00 +00:00
makesyscalls.sh Fix last commit: It's ">", not "<", in this case. Okay'd by christos. 2001-07-08 19:08:48 +00:00
subr_autoconf.c In-kernel device configuration manager - allows modification 2001-07-01 02:56:20 +00:00
subr_disk.c ANSIfy. 2001-07-09 10:54:12 +00:00
subr_extent.c extent_alloc_subregion shouldn't allocate a region pasts the end of subregion. 2001-08-27 13:35:44 +00:00
subr_log.c
subr_pool.c Protect the `pool cache group' pool with splvm(), so that pool caches 2001-07-01 06:12:20 +00:00
subr_prf.c Check msgbufenabled before referencing msgbufp in panic. Avoids 2001-07-10 20:40:56 +00:00
subr_prof.c Before allowing kgmon to do anything, check that we managed to allocate the 2001-04-28 12:56:00 +00:00
subr_rmap.c
subr_userconf.c bcopy -> memcpy 2001-07-18 06:51:38 +00:00
subr_xxx.c
sys_generic.c If no select collision is needed, try our best to avoid it by clearing 2001-06-28 05:45:49 +00:00
sys_pipe.c pipe_create(): explicitly zero whole memory returned from pool_get(), instead 2001-07-26 14:14:28 +00:00
sys_process.c seperate -> separate 2001-07-22 13:33:58 +00:00
sys_socket.c Use SB_ASYNC in struct sockbuf sb_flags field instead of SS_ASYNC in 2001-06-16 21:29:32 +00:00
syscalls.c Regen; added Linux-compatible clone(2) system call. 2001-07-01 18:07:33 +00:00
syscalls.conf
syscalls.master Linux-compatible clone(2) system call, lifted from the Linux 2001-07-01 18:06:11 +00:00
sysv_ipc.c
sysv_msg.c
sysv_sem.c make local 'nsops' same unsigned type as the value we store there in sys_semop() 2001-08-03 05:58:18 +00:00
sysv_shm.c
tty.c Add `l_poll' to `struct linesw' and provide an xxxpoll() entry point 2001-05-02 10:32:08 +00:00
tty_conf.c bzero -> memset 2001-07-18 06:48:27 +00:00
tty_pty.c Add `l_poll' to `struct linesw' and provide an xxxpoll() entry point 2001-05-02 10:32:08 +00:00
tty_subr.c
tty_tb.c
tty_tty.c
uipc_domain.c
uipc_mbuf.c a whole bunch of changes to improve performance and robustness under load: 2001-09-15 20:36:31 +00:00
uipc_mbuf2.c bcopy -> memcpy 2001-07-18 06:51:38 +00:00
uipc_proto.c
uipc_socket.c Remove the use of splimp() from the NetBSD kernel. splnet() 2001-04-13 23:29:55 +00:00
uipc_socket2.c Give different names for different wait channels. 2001-08-05 08:25:39 +00:00
uipc_syscalls.c Expel MSG_COMPAT/COMPAT_OLDSOCK, make the COMPAT_43 wrappers 2001-07-17 11:49:40 +00:00
uipc_usrreq.c Fix a partial construction problem that can cause race conditions 2001-06-14 20:32:41 +00:00
vfs_bio.c
vfs_cache.c
vfs_getcwd.c
vfs_init.c
vfs_lockf.c
vfs_lookup.c Set the credentials to be used in the NDINIT macro so that syscalls can 2001-09-08 02:02:04 +00:00
vfs_subr.c a whole bunch of changes to improve performance and robustness under load: 2001-09-15 20:36:31 +00:00
vfs_syscalls.c Don't trash the ref count of cred. It causes a memory leak. 2001-09-08 15:34:06 +00:00
vfs_vnops.c a whole bunch of changes to improve performance and robustness under load: 2001-09-15 20:36:31 +00:00
vnode_if.c change vop_symlink and vop_mknod to return vpp (the created node) 2001-07-24 15:39:30 +00:00
vnode_if.sh delint: vop_default_desc was declared const but not defined const. 2001-05-07 08:46:02 +00:00
vnode_if.src a whole bunch of changes to improve performance and robustness under load: 2001-09-15 20:36:31 +00:00