NetBSD/sys/uvm
bouyer aa488cdf00 When using uvm_km_pgremove_intrsafe() make sure mappings are removed
before returning the pages to the free pool. Otherwise, under Xen,
a page which still has a writable mapping could be allocated for
a PDP by another CPU and the hypervisor would refuse it (this is
PR port-xen/45975).
For this, move the pmap_kremove() calls inside uvm_km_pgremove_intrsafe(),
and do pmap_kremove()/uvm_pagefree() in batch of (at most) 16 entries
(as suggested by Chuck Silvers on tech-kern@, see also
http://mail-index.netbsd.org/tech-kern/2012/02/17/msg012727.html and
followups).
2012-02-20 19:14:23 +00:00
..
files.uvm
Makefile
uvm_amap.c
uvm_amap.h
uvm_anon.c
uvm_anon.h
uvm_aobj.c
uvm_aobj.h
uvm_bio.c
uvm_coredump.c
uvm_ddb.h
uvm_device.c
uvm_device.h
uvm_emap.c
uvm_extern.h
uvm_fault_i.h Remove VM_MAP_INTRSAFE and related code. Not used since the "kmem changes". 2012-02-19 00:05:55 +00:00
uvm_fault.c Remove VM_MAP_INTRSAFE and related code. Not used since the "kmem changes". 2012-02-19 00:05:55 +00:00
uvm_fault.h
uvm_glue.c Solve previous fix (for early posix_spawn children exiting on error) 2012-02-20 12:21:23 +00:00
uvm_glue.h
uvm_init.c Make sure to export uvmexp_* if MODULAR is defined. 2012-02-17 23:41:02 +00:00
uvm_io.c
uvm_km.c When using uvm_km_pgremove_intrsafe() make sure mappings are removed 2012-02-20 19:14:23 +00:00
uvm_km.h
uvm_kmguard.c When using uvm_km_pgremove_intrsafe() make sure mappings are removed 2012-02-20 19:14:23 +00:00
uvm_kmguard.h - Make KMGUARD interrupt-safe. 2012-02-05 03:40:07 +00:00
uvm_loan.c Remove VM_MAP_INTRSAFE and related code. Not used since the "kmem changes". 2012-02-19 00:05:55 +00:00
uvm_loan.h
uvm_map.c When using uvm_km_pgremove_intrsafe() make sure mappings are removed 2012-02-20 19:14:23 +00:00
uvm_map.h Remove VM_MAP_INTRSAFE and related code. Not used since the "kmem changes". 2012-02-19 00:05:55 +00:00
uvm_meter.c
uvm_mmap.c
uvm_mremap.c
uvm_object.c
uvm_object.h
uvm_page.c Add KASSERTs to uvm_pagealloc_pgfl to verify the page is actually free and has 2012-02-16 11:46:14 +00:00
uvm_page.h
uvm_pager.c
uvm_pager.h
uvm_param.h Make sure to export uvmexp_* if MODULAR is defined. 2012-02-17 23:41:02 +00:00
uvm_pdaemon.c
uvm_pdaemon.h
uvm_pdpolicy_clock.c
uvm_pdpolicy_clockpro.c
uvm_pdpolicy_impl.h
uvm_pdpolicy.h
uvm_pglist.c
uvm_pglist.h
uvm_pmap.h
uvm_prot.h
uvm_readahead.c
uvm_readahead.h
uvm_stat.c
uvm_stat.h
uvm_swap.c - sys_swapctl: validate the number of swap devices argument for SWAP_STATS. 2012-02-05 16:08:28 +00:00
uvm_swap.h
uvm_swapstub.c
uvm_unix.c
uvm_user.c
uvm_vnode.c
uvm.h