freebsd-skq/sys/kern
John Dyson bef608bd7e Some VM improvements, including elimination of alot of Sig-11
problems.  Tor Egge and others have helped with various VM bugs
lately, but don't blame him -- blame me!!!

pmap.c:
1)	Create an object for kernel page table allocations.  This
	fixes a bogus allocation method previously used for such, by
	grabbing pages from the kernel object, using bogus pindexes.
	(This was a code cleanup, and perhaps a minor system stability
	 issue.)

pmap.c:
2)	Pre-set the modify and accessed bits when prudent.  This will
	decrease bus traffic under certain circumstances.

vfs_bio.c, vfs_cluster.c:
3)	Rather than calculating the beginning virtual byte offset
	multiple times, stick the offset into the buffer header, so
	that the calculated offset can be reused.  (Long long multiplies
	are often expensive, and this is a probably unmeasurable performance
	improvement, and code cleanup.)

vfs_bio.c:
4)	Handle write recursion more intelligently (but not perfectly) so
	that it is less likely to cause a system panic, and is also
	much more robust.

vfs_bio.c:
5)	getblk incorrectly wrote out blocks that are incorrectly sized.
	The problem is fixed, and writes blocks out ONLY when B_DELWRI
	is true.

vfs_bio.c:
6)	Check that already constituted buffers have fully valid pages.  If
	not, then make sure that the B_CACHE bit is not set. (This was
	a major source of Sig-11 type problems.)

vfs_bio.c:
7)	Fix a potential system deadlock due to an incorrectly specified
	sleep priority while waiting for a buffer write operation.  The
	change that I made opens the system up to serious problems, and
	we need to examine the issue of process sleep priorities.

vfs_cluster.c, vfs_bio.c:
8)	Make clustered reads work more correctly (and more completely)
	when buffers are already constituted, but not fully valid.
	(This was another system reliability issue.)

vfs_subr.c, ffs_inode.c:
9)	Create a vtruncbuf function, which is used by filesystems that
	can truncate files.  The vinvalbuf forced a file sync type operation,
	while vtruncbuf only invalidates the buffers past the new end of file,
	and also invalidates the appropriate pages.  (This was a system reliabiliy
	and performance issue.)

10)	Modify FFS to use vtruncbuf.

vm_object.c:
11)	Make the object rundown mechanism for OBJT_VNODE type objects work
	more correctly.  Included in that fix, create pager entries for
	the OBJT_DEAD pager type, so that paging requests that might slip
	in during race conditions are properly handled.  (This was a system
	reliability issue.)

vm_page.c:
12)	Make some of the page validation routines be a little less picky
	about arguments passed to them.  Also, support page invalidation
	change the object generation count so that we handle generation
	counts a little more robustly.

vm_pageout.c:
13)	Further reduce pageout daemon activity when the system doesn't
	need help from it.  There should be no additional performance
	decrease even when the pageout daemon is running.  (This was
	a significant performance issue.)

vnode_pager.c:
14)	Teach the vnode pager to handle race conditions during vnode
	deallocations.
1998-03-16 01:56:03 +00:00
..
imgact_aout.c Removed unused #includes. 1998-02-20 13:11:54 +00:00
imgact_elf.c Update the ELF image activator to use some of the exec resources rather 1998-03-02 05:47:58 +00:00
imgact_gzip.c Make gzipped dynamically linked executables work again. There was 1997-12-14 19:36:24 +00:00
imgact_shell.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
inflate.c Last major round (Unless Bruce thinks of somthing :-) of malloc changes. 1997-10-12 20:26:33 +00:00
init_main.c Make the rootdir handling more consistent. Now, processes always 1998-02-15 04:17:09 +00:00
init_sysent.c Updated generated files. 1998-02-03 17:52:21 +00:00
init_sysvec.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
kern_acct.c Move the "retval" (3rd) parameter from all syscall functions and put 1997-11-06 19:29:57 +00:00
kern_clock.c Replace TOD clock code with more systematic approach. 1998-02-20 16:36:17 +00:00
kern_conf.c Staticized. 1997-11-22 08:35:46 +00:00
kern_descrip.c Make the rootdir handling more consistent. Now, processes always 1998-02-15 04:17:09 +00:00
kern_exec.c Free the first page also if it is not valid. 1998-03-08 06:21:33 +00:00
kern_exit.c VM level code cleanups. 1998-01-22 17:30:44 +00:00
kern_fork.c VM level code cleanups. 1998-01-22 17:30:44 +00:00
kern_intr.c Move include of <machine/ipl.h> inside ifndef SMP where it is used, to 1998-02-10 17:10:23 +00:00
kern_ktrace.c Don't depend on "implicit int". 1998-02-20 13:37:40 +00:00
kern_linker.c Use a real malloc type for M_LINKER instead of #defining it as M_TEMP. 1998-01-01 08:56:24 +00:00
kern_lkm.c Make NO_LKM a new-style option. 1998-02-12 18:02:07 +00:00
kern_lock.c Some kern_lock code improvements. Add missing wakeup, and enable 1998-03-07 19:25:34 +00:00
kern_lockf.c Make the debug options new-style. 1998-01-31 07:23:16 +00:00
kern_malloc.c Reviewed by: dyson@freebsd.org (john Dyson), dg@root.com (david greenman) 1998-03-08 09:59:44 +00:00
kern_mib.c Reviewed by: msmith, bde long ago 1998-03-04 10:25:55 +00:00
kern_module.c Remove a bunch of variables which were unused both in GENERIC and LINT. 1997-11-07 08:53:44 +00:00
kern_ntptime.c Replace TOD clock code with more systematic approach. 1998-02-20 16:36:17 +00:00
kern_opt.c Added a copyright and restored order. 1997-02-28 10:14:24 +00:00
kern_physio.c Add better support for larger I/O clusters, including larger physical 1998-01-24 02:01:46 +00:00
kern_proc.c Staticized. 1998-02-20 13:52:15 +00:00
kern_prot.c Clear the p_stops field on change of user/group id, unless the correct 1997-12-20 03:05:47 +00:00
kern_random.c Replace TOD clock code with more systematic approach. 1998-02-20 16:36:17 +00:00
kern_resource.c Reviewed by: msmith, bde long ago 1998-03-04 10:25:55 +00:00
kern_shutdown.c Reviewed by: dyson@freebsd.org (john Dyson), dg@root.com (david greenman) 1998-03-08 09:59:44 +00:00
kern_sig.c Forward the signal if the process runs on a different CPU. This reduces 1998-03-03 20:55:26 +00:00
kern_subr.c Back out DIAGNOSTIC changes. 1998-02-06 12:14:30 +00:00
kern_synch.c idprio processes must be preempted as soon as anything is runnable. 1998-03-11 20:50:42 +00:00
kern_sysctl.c Make COMPAT_43 and COMPAT_SUNOS new-style options. 1997-12-16 17:40:42 +00:00
kern_tc.c Replace TOD clock code with more systematic approach. 1998-02-20 16:36:17 +00:00
kern_threads.c Removed a stale comment and staler code. 1998-02-25 06:30:15 +00:00
kern_time.c Fixed the calculation of `delta' in settime(). We once set all 1998-02-25 04:10:32 +00:00
kern_timeout.c Declare function pointer args as pointers, not as functions. 1998-02-25 06:13:32 +00:00
kern_xxx.c Make COMPAT_43 and COMPAT_SUNOS new-style options. 1997-12-16 17:40:42 +00:00
ksched.c Reviewed by: msmith, bde long ago 1998-03-04 10:27:00 +00:00
link_aout.c Fixed a sloppy common-style definitions. 1997-11-20 20:07:59 +00:00
Make.tags.inc Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
Makefile Remove bogus architectures to allow make tags to work. 1996-03-31 18:53:43 +00:00
makesyscalls.sh Add statements to generate a sys/syscall.mk file for inclusion 1998-03-09 04:00:42 +00:00
md5c.c Add const to a couple of casts to silence some of the warnings Bruce 1997-10-21 13:28:36 +00:00
posix4_mib.c Reviewed by: msmith, bde long ago 1998-03-04 10:27:00 +00:00
subr_autoconf.c Removed an unused #include. Ifdefed a conditionally used #include. 1997-11-18 12:43:41 +00:00
subr_clist.c Last major round (Unless Bruce thinks of somthing :-) of malloc changes. 1997-10-12 20:26:33 +00:00
subr_disklabel.c Don't depend on "implicit int". 1998-02-20 13:37:40 +00:00
subr_diskmbr.c In all such uses of struct buf: 's/b_un.b_addr/b_data/g' 1997-12-02 21:07:20 +00:00
subr_diskslice.c Fixed an aliasing bug. It was too easy to defeat the check for moving 1998-02-15 05:41:31 +00:00
subr_dkbad.c In all such uses of struct buf: 's/b_un.b_addr/b_data/g' 1997-12-02 21:07:20 +00:00
subr_log.c Don't depend on "implicit int" or bloat the data section in the 1998-02-20 13:46:58 +00:00
subr_param.c Raise ncallout from NPROC + 16 to NPROC + 16 + MAXFILES. This shold 1998-02-27 19:58:29 +00:00
subr_prf.c Handle "%...p" as "%#...x" instead of "0x%...x". This is a quick fix 1997-12-28 05:03:33 +00:00
subr_prof.c Move the "retval" (3rd) parameter from all syscall functions and put 1997-11-06 19:29:57 +00:00
subr_rlist.c Back out DIAGNOSTIC changes. 1998-02-06 12:14:30 +00:00
subr_smp.c The APs now reload the interrupt descriptor table pointer after 1998-03-07 20:16:49 +00:00
subr_trap.c Back out DIAGNOSTIC changes. 1998-02-06 12:14:30 +00:00
subr_xxx.c Zap nxselect and noselect. 1997-09-14 02:50:28 +00:00
sys_generic.c Fixed some style bugs in the poll() code. 1997-11-23 10:30:50 +00:00
sys_pipe.c Staticize. 1998-02-09 06:11:36 +00:00
sys_process.c Back out DIAGNOSTIC changes. 1998-02-06 12:14:30 +00:00
sys_socket.c Various select -> poll changes 1997-09-14 02:52:18 +00:00
syscalls.c Updated generated files. 1998-02-03 17:52:21 +00:00
syscalls.master Fixed type of mincore(). 1998-02-03 17:45:43 +00:00
sysv_ipc.c Removed an unused #include. Added an unsed #include of <sys/ucred.h> 1997-11-18 12:52:10 +00:00
sysv_msg.c Move the "retval" (3rd) parameter from all syscall functions and put 1997-11-06 19:29:57 +00:00
sysv_sem.c Move the "retval" (3rd) parameter from all syscall functions and put 1997-11-06 19:29:57 +00:00
sysv_shm.c Staticize. 1998-02-09 06:11:36 +00:00
tty_compat.c Don't depend on "implicit int". 1998-02-25 06:16:37 +00:00
tty_conf.c Make COMPAT_43 and COMPAT_SUNOS new-style options. 1997-12-16 17:40:42 +00:00
tty_cons.c Make all file-system (MFS, FFS, NFS, LFS, DEVFS) related option new-style. 1998-01-24 02:54:56 +00:00
tty_pty.c Don't depend on "implicit int" or bloat the data section in the 1998-02-25 06:19:15 +00:00
tty_snoop.c Don't depend on "implicit int" or bloat the data section in the 1998-02-20 13:46:58 +00:00
tty_subr.c Last major round (Unless Bruce thinks of somthing :-) of malloc changes. 1997-10-12 20:26:33 +00:00
tty_tb.c Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
tty_tty.c Don't depend on "implicit int" or bloat the data section in the 1998-02-20 13:46:58 +00:00
tty.c Set the input and output buffer sizes and the input buffer watermarks 1998-03-07 15:36:29 +00:00
uipc_domain.c Fixed gratuitous ANSIisms. 1997-09-16 11:44:05 +00:00
uipc_mbuf.c Don't depend on "implicit int". 1998-02-20 13:37:40 +00:00
uipc_proto.c Removed unused #includes. 1998-02-20 13:11:54 +00:00
uipc_sockbuf.c Make sure that you can only bind a more specific address when it is 1998-03-01 19:39:29 +00:00
uipc_socket2.c Make sure that you can only bind a more specific address when it is 1998-03-01 19:39:29 +00:00
uipc_socket.c Make sure that you can only bind a more specific address when it is 1998-03-01 19:39:29 +00:00
uipc_syscalls.c Staticize. 1998-02-09 06:11:36 +00:00
uipc_usrreq.c Back out DIAGNOSTIC changes. 1998-02-06 12:14:30 +00:00
vfs_aio.c Removed a stale comment and staler code. 1998-02-25 06:30:15 +00:00
vfs_bio.c Some VM improvements, including elimination of alot of Sig-11 1998-03-16 01:56:03 +00:00
vfs_cache.c Removed some bogus casts. 1997-12-19 23:18:37 +00:00
vfs_cluster.c Some VM improvements, including elimination of alot of Sig-11 1998-03-16 01:56:03 +00:00
vfs_conf.c If the root mount fails from a device that is not the compatability slice 1998-03-11 00:10:31 +00:00
vfs_default.c This mega-commit is meant to fix numerous interrelated problems. There 1998-03-07 21:37:31 +00:00
vfs_export.c Some VM improvements, including elimination of alot of Sig-11 1998-03-16 01:56:03 +00:00
vfs_extattr.c Reviewed by: dyson@freebsd.org (john Dyson), dg@root.com (david greenman) 1998-03-08 09:59:44 +00:00
vfs_init.c Staticize. 1998-02-09 06:11:36 +00:00
vfs_lookup.c Make the rootdir handling more consistent. Now, processes always 1998-02-15 04:17:09 +00:00
vfs_mount.c If the root mount fails from a device that is not the compatability slice 1998-03-11 00:10:31 +00:00
vfs_subr.c Some VM improvements, including elimination of alot of Sig-11 1998-03-16 01:56:03 +00:00
vfs_syscalls.c Reviewed by: dyson@freebsd.org (john Dyson), dg@root.com (david greenman) 1998-03-08 09:59:44 +00:00
vfs_vnops.c Removed unused #includes. 1998-02-25 05:58:50 +00:00
vnode_if.pl Use __inline instead of inline to prevent pedantic compiler warnings. 1997-12-19 23:25:16 +00:00
vnode_if.sh Use __inline instead of inline to prevent pedantic compiler warnings. 1997-12-19 23:25:16 +00:00
vnode_if.src Reviewed by: dyson@freebsd.org (john Dyson), dg@root.com (david greenman) 1998-03-08 09:59:44 +00:00