freebsd-skq/sys/vm
phk 9b703b1455 Eradicate the variable "time" from the kernel, using various measures.
"time" wasn't a atomic variable, so splfoo() protection were needed
around any access to it, unless you just wanted the seconds part.

Most uses of time.tv_sec now uses the new variable time_second instead.

gettime() changed to getmicrotime(0.

Remove a couple of unneeded splfoo() protections, the new getmicrotime()
is atomic, (until Bruce sets a breakpoint in it).

A couple of places needed random data, so use read_random() instead
of mucking about with time which isn't random.

Add a new nfs_curusec() function.

Mark a couple of bogosities involving the now disappeard time variable.

Update ffs_update() to avoid the weird "== &time" checks, by fixing the
one remaining call that passwd &time as args.

Change profiling in ncr.c to use ticks instead of time.  Resolution is
the same.

Add new function "tvtohz()" to avoid the bogus "splfoo(), add time, call
hzto() which subtracts time" sequences.

Reviewed by:	bde
1998-03-30 09:56:58 +00:00
..
default_pager.c Back out DIAGNOSTIC changes. 1998-02-06 12:14:30 +00:00
default_pager.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
device_pager.c Back out DIAGNOSTIC changes. 1998-02-06 12:14:30 +00:00
device_pager.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
pmap.h Forward declare more structs that are used in prototypes here - don't 1998-02-01 20:08:39 +00:00
swap_pager.c This mega-commit is meant to fix numerous interrelated problems. There 1998-03-07 21:37:31 +00:00
swap_pager.h Fix page prezeroing for SMP, and fix some potential paging-in-progress 1998-02-25 03:56:15 +00:00
vm_extern.h VM level code cleanups. 1998-01-22 17:30:44 +00:00
vm_fault.c Make vm_fault much cleaner by removing the evil macro inlines, and 1998-03-07 20:45:47 +00:00
vm_glue.c Reviewed by: msmith, bde long ago 1998-03-04 10:27:00 +00:00
vm_inherit.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
vm_init.c Back out DIAGNOSTIC changes. 1998-02-06 12:14:30 +00:00
vm_kern.c 1) Use a more consistent page wait methodology. 1998-03-01 04:18:54 +00:00
vm_kern.h Attempt to fix the previous fix to the contigmalloc1 prototype. 1997-10-11 10:39:19 +00:00
vm_map.c This mega-commit is meant to fix numerous interrelated problems. There 1998-03-07 21:37:31 +00:00
vm_map.h VM level code cleanups. 1998-01-22 17:30:44 +00:00
vm_meter.c Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
vm_mmap.c Fix for mmap of char devices bug as described in OpenBSD advisory of 1998-03-12 19:36:18 +00:00
vm_object.c Some VM improvements, including elimination of alot of Sig-11 1998-03-16 01:56:03 +00:00
vm_object.h This mega-commit is meant to fix numerous interrelated problems. There 1998-03-07 21:37:31 +00:00
vm_page.c Some VM improvements, including elimination of alot of Sig-11 1998-03-16 01:56:03 +00:00
vm_page.h This mega-commit is meant to fix numerous interrelated problems. There 1998-03-07 21:37:31 +00:00
vm_pageout.c Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
vm_pageout.h VM level code cleanups. 1998-01-22 17:30:44 +00:00
vm_pager.c Some VM improvements, including elimination of alot of Sig-11 1998-03-16 01:56:03 +00:00
vm_pager.h This mega-commit is meant to fix numerous interrelated problems. There 1998-03-07 21:37:31 +00:00
vm_param.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
vm_prot.h Fix the gdb executable modify problem. Thanks to the detective work 1997-04-06 02:29:45 +00:00
vm_swap.c Significantly improve the efficiency of the swap pager, which appears to 1998-02-23 08:22:48 +00:00
vm_unix.c Move the "retval" (3rd) parameter from all syscall functions and put 1997-11-06 19:29:57 +00:00
vm_zone.c Try to dynamically size the VM_KMEM_SIZE (but is still able to be overridden 1998-02-23 07:42:43 +00:00
vm_zone.h Slight improvement to the vm_zone stats output. Also, some other superficial 1997-12-14 05:17:44 +00:00
vm.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
vnode_pager.c Some VM improvements, including elimination of alot of Sig-11 1998-03-16 01:56:03 +00:00
vnode_pager.h In the author's words: 1998-02-26 06:39:59 +00:00