freebsd-skq/sys/vm
Alan Cox 1f78f902a8 Background: pmap_object_init_pt() premaps the pages of a object in
order to avoid the overhead of later page faults.  In general, it
implements two cases: one for vnode-backed objects and one for
device-backed objects.  Only the device-backed case is really
machine-dependent, belonging in the pmap.

This commit moves the vnode-backed case into the (relatively) new
function vm_map_pmap_enter().  On amd64 and i386, this commit only
amounts to code rearrangement.  On alpha and ia64, the new machine
independent (MI) implementation of the vnode case is smaller and more
efficient than their pmap-based implementations.  (The MI
implementation takes advantage of the fact that objects in -CURRENT
are ordered collections of pages.)  On sparc64, pmap_object_init_pt()
hadn't (yet) been implemented.
2003-07-03 20:18:02 +00:00
..
default_pager.c Use __FBSDID(). 2003-06-11 23:50:51 +00:00
device_pager.c Assert that the vm object is locked on entry to dev_pager_getpages(). 2003-06-24 19:48:34 +00:00
phys_pager.c Use __FBSDID(). 2003-06-11 23:50:51 +00:00
pmap.h Background: pmap_object_init_pt() premaps the pages of a object in 2003-07-03 20:18:02 +00:00
swap_pager.c Maintain the lock on a vm object when calling vm_page_grab(). 2003-06-25 04:53:56 +00:00
swap_pager.h Make swap_pager_haspages() static; remove unused function prototypes. 2003-06-20 20:20:06 +00:00
uma_core.c Move the pcpu lock out of the uma_cache and instead have a single set 2003-06-25 20:49:48 +00:00
uma_dbg.c Use __FBSDID(). 2003-06-11 23:50:51 +00:00
uma_dbg.h - Use my freebsd email alias in the copyright. 2002-09-19 06:05:32 +00:00
uma_int.h Move the pcpu lock out of the uma_cache and instead have a single set 2003-06-25 20:49:48 +00:00
uma.h Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
vm_contig.c Fix a few style(9) nits. 2003-07-02 01:47:47 +00:00
vm_extern.h Migrate the thread stack management functions from the machine-dependent 2003-06-14 23:23:55 +00:00
vm_fault.c Maintain a lock on the vm object of interest throughout vm_fault(), 2003-06-22 21:35:41 +00:00
vm_glue.c Use #ifdef __alpha__, not __alpha. 2003-06-15 00:12:42 +00:00
vm_init.c Use __FBSDID(). 2003-06-11 23:50:51 +00:00
vm_kern.c Remove GIANT_REQUIRED from kmem_malloc(). 2003-06-28 22:04:52 +00:00
vm_kern.h Move kernel_vm_end's declaration to pmap.h; add a comment regarding the 2003-02-15 19:38:23 +00:00
vm_map.c Background: pmap_object_init_pt() premaps the pages of a object in 2003-07-03 20:18:02 +00:00
vm_map.h Introduce vm_map_pmap_enter(). Presently, this is a stub calling the MD 2003-06-29 23:32:55 +00:00
vm_meter.c Use __FBSDID(). 2003-06-11 23:50:51 +00:00
vm_mmap.c Add a f_vnode field to struct file. 2003-06-22 08:41:43 +00:00
vm_object.c Complete the vm object locking in vm_object_backing_scan(); specifically, 2003-06-22 02:35:06 +00:00
vm_object.h - Add VM_OBJECT_TRYLOCK(). 2003-06-04 19:59:23 +00:00
vm_page.c Modify vm_page_alloc() and vm_page_select_cache() to allow the page that 2003-07-01 07:33:41 +00:00
vm_page.h - Add vm_paddr_t, a physical address type. This is required for systems 2003-03-25 00:07:06 +00:00
vm_pageout.c Add vm object locking to vm_pageout_map_deactivate_pages(). 2003-06-29 19:51:24 +00:00
vm_pageout.h Move a declaration to its proper place. 2003-05-03 04:21:16 +00:00
vm_pageq.c Modify vm_pageq_requeue() to handle a PQ_NONE page without dereferencing 2003-06-26 03:14:40 +00:00
vm_pager.c Initialize b_saveaddr when we hand out pbufs 2003-06-20 08:35:28 +00:00
vm_pager.h Assert that the vm object is locked on entry to vm_pager_get_pages(). 2003-06-23 06:15:05 +00:00
vm_param.h Rev 1.16 renamed VM_METER to VM_TOTAL. This is breaking 3rd-party apps. 2003-01-18 21:14:02 +00:00
vm_swap.c Add the same KASSERT to all VOP_STRATEGY and VOP_SPECSTRATEGY implementations 2003-06-15 18:53:00 +00:00
vm_unix.c Use __FBSDID(). 2003-06-11 23:50:51 +00:00
vm_zeroidle.c Use __FBSDID(). 2003-06-11 23:50:51 +00:00
vm.h Change the way ELF coredumps are handled. Instead of unconditionally 2002-12-16 19:24:43 +00:00
vnode_pager.c Maintain a lock on the vm object of interest throughout vm_fault(), 2003-06-22 21:35:41 +00:00
vnode_pager.h Remove __P. 2002-03-19 22:20:14 +00:00