freebsd-dev/sys/vm
Matthew Dillon 4f79d873c1 Add MAP_NOSYNC feature to mmap(), and MADV_NOSYNC and MADV_AUTOSYNC to
madvise().

    This feature prevents the update daemon from gratuitously flushing
    dirty pages associated with a mapped file-backed region of memory.  The
    system pager will still page the memory as necessary and the VM system
    will still be fully coherent with the filesystem.  Modifications made
    by other means to the same area of memory, for example by write(), are
    unaffected.  The feature works on a page-granularity basis.

    MAP_NOSYNC allows one to use mmap() to share memory between processes
    without incuring any significant filesystem overhead, putting it in
    the same performance category as SysV Shared memory and anonymous memory.

Reviewed by: julian, alc, dg
1999-12-12 03:19:33 +00:00
..
default_pager.c Remove unused #include's. 1999-11-07 20:03:54 +00:00
device_pager.c Remove unused #include's. 1999-11-07 20:03:54 +00:00
pmap.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
swap_pager.c Isolate the swapdev_vp "not quite" vnode in the only source file which 1999-11-22 15:27:09 +00:00
swap_pager.h Remove the non-functional "swap device" userland front-end to the 1999-11-18 06:55:40 +00:00
vm_extern.h Remove unused declarations. 1999-11-08 00:53:34 +00:00
vm_fault.c Add MAP_NOSYNC feature to mmap(), and MADV_NOSYNC and MADV_AUTOSYNC to 1999-12-12 03:19:33 +00:00
vm_glue.c User ldt sharing. 1999-12-06 04:53:08 +00:00
vm_init.c useracc() the prequel: 1999-10-29 18:09:36 +00:00
vm_kern.c useracc() the prequel: 1999-10-29 18:09:36 +00:00
vm_kern.h Remove the last vestiges of "vm_map_t phys_map". It's been unused 1999-10-29 05:17:20 +00:00
vm_map.c Add MAP_NOSYNC feature to mmap(), and MADV_NOSYNC and MADV_AUTOSYNC to 1999-12-12 03:19:33 +00:00
vm_map.h Add MAP_NOSYNC feature to mmap(), and MADV_NOSYNC and MADV_AUTOSYNC to 1999-12-12 03:19:33 +00:00
vm_meter.c useracc() the prequel: 1999-10-29 18:09:36 +00:00
vm_mmap.c Add MAP_NOSYNC feature to mmap(), and MADV_NOSYNC and MADV_AUTOSYNC to 1999-12-12 03:19:33 +00:00
vm_object.c Add MAP_NOSYNC feature to mmap(), and MADV_NOSYNC and MADV_AUTOSYNC to 1999-12-12 03:19:33 +00:00
vm_object.h Add MAP_NOSYNC feature to mmap(), and MADV_NOSYNC and MADV_AUTOSYNC to 1999-12-12 03:19:33 +00:00
vm_page.c Add MAP_NOSYNC feature to mmap(), and MADV_NOSYNC and MADV_AUTOSYNC to 1999-12-12 03:19:33 +00:00
vm_page.h Add MAP_NOSYNC feature to mmap(), and MADV_NOSYNC and MADV_AUTOSYNC to 1999-12-12 03:19:33 +00:00
vm_pageout.c Lock reporting and assertion changes. 1999-12-11 16:13:02 +00:00
vm_pageout.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vm_pager.c useracc() the prequel: 1999-10-29 18:09:36 +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_swap.c Report swapdevices as cdevs rather than bdevs. 1999-11-29 21:37:18 +00:00
vm_unix.c Remove unused #include's. 1999-11-07 20:03:54 +00:00
vm_zone.c Lock reporting and assertion changes. 1999-12-11 16:13:02 +00:00
vm_zone.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vm.h useracc() the prequel: 1999-10-29 18:09:36 +00:00
vnode_pager.c useracc() the prequel: 1999-10-29 18:09:36 +00:00
vnode_pager.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00