freebsd-dev/sys/vm
dillon 1131fb5e03 Reviewed by: Alan Cox <alc@cs.rice.edu>, David Greenman <dg@root.com>
Replace various VM related page count calculations strewn over the
    VM code with inlines to aid in readability and to reduce fragility
    in the code where modules depend on the same test being performed
    to properly sleep and wakeup.

    Split out a portion of the page deactivation code into an inline
    in vm_page.c to support vm_page_dontneed().

    add vm_page_dontneed(), which handles the madvise MADV_DONTNEED
    feature in a related commit coming up for vm_map.c/vm_object.c.  This
    code prevents degenerate cases where an essentially active page may
    be rotated through a subset of the paging lists, resulting in premature
    disposal.
1999-09-17 04:56:40 +00:00
..
default_pager.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
default_pager.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
device_pager.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
pmap.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
swap_pager.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
swap_pager.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vm_extern.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vm_fault.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vm_glue.c Reviewed by: Alan Cox <alc@cs.rice.edu>, David Greenman <dg@root.com> 1999-09-17 04:56:40 +00:00
vm_inherit.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vm_init.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vm_kern.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vm_kern.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vm_map.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vm_map.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vm_meter.c Reviewed by: Alan Cox <alc@cs.rice.edu>, David Greenman <dg@root.com> 1999-09-17 04:56:40 +00:00
vm_mmap.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vm_object.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vm_object.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vm_page.c Reviewed by: Alan Cox <alc@cs.rice.edu>, David Greenman <dg@root.com> 1999-09-17 04:56:40 +00:00
vm_page.h Reviewed by: Alan Cox <alc@cs.rice.edu>, David Greenman <dg@root.com> 1999-09-17 04:56:40 +00:00
vm_pageout.c Reviewed by: Alan Cox <alc@cs.rice.edu>, David Greenman <dg@root.com> 1999-09-17 04:56:40 +00:00
vm_pageout.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vm_pager.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vm_pager.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vm_param.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vm_prot.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vm_swap.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vm_unix.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vm_zone.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vm_zone.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vm.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vnode_pager.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vnode_pager.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00