freebsd-nq/sys/vm
Alexander Motin 8f12d83ad9 Fix NULL dereference panic on attempt to turn off (on system shutdown)
disconnected swap device.

This is quick and imperfect solution, as swap device will still be opened
and GEOM will not be able to destroy it. Proper solution would be to
automatically turn off and close disconnected swap device, but with existing
code it will cause panic if there is at least one page on device, even if
it is unimportant page of the user-level process. It needs some work.

Reviewed by:	kib@
MFC after:	1 week
2012-02-01 20:12:44 +00:00
..
default_pager.c
device_pager.c Update the device pager interface, while keeping the compatibility 2011-11-15 14:40:00 +00:00
memguard.c Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs. 2011-11-07 15:43:11 +00:00
memguard.h Make memguard(9) capable to guard uma(9) allocations. 2011-10-12 18:08:28 +00:00
phys_pager.c
pmap.h
redzone.c Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs. 2011-11-07 15:43:11 +00:00
redzone.h
sg_pager.c
swap_pager.c Fix NULL dereference panic on attempt to turn off (on system shutdown) 2012-02-01 20:12:44 +00:00
swap_pager.h Implement the linprocfs swaps file, providing information about the 2011-08-01 19:12:15 +00:00
uma_core.c exclude kmem_alloc'ed ARC data buffers from kernel minidumps on amd64 2012-01-27 20:18:31 +00:00
uma_dbg.c
uma_dbg.h
uma_int.h 1. Prior to r214782, UMA did not support multipage allocations before 2011-05-21 17:43:43 +00:00
uma.h exclude kmem_alloc'ed ARC data buffers from kernel minidumps on amd64 2012-01-27 20:18:31 +00:00
vm_contig.c exclude kmem_alloc'ed ARC data buffers from kernel minidumps on amd64 2012-01-27 20:18:31 +00:00
vm_extern.h Eliminate vm_phys_bootstrap_alloc(). It was a failed attempt at 2011-10-30 05:06:14 +00:00
vm_fault.c Use the trick of performing the atomic operation on the contained aligned 2011-09-28 14:57:50 +00:00
vm_glue.c Move kstack_cache_entry into the private header, and make the 2011-12-16 10:56:16 +00:00
vm_init.c
vm_kern.c exclude kmem_alloc'ed ARC data buffers from kernel minidumps on amd64 2012-01-27 20:18:31 +00:00
vm_kern.h
vm_map.c Introduce the same mutex-wise fix in r227758 for sx locks. 2011-11-21 12:59:52 +00:00
vm_map.h
vm_meter.c - The previous commit (r228449) accidentally moved the vm.stats.vm.* sysctls 2011-12-14 13:25:00 +00:00
vm_mmap.c In order to maximize the re-usability of kernel code in user space this 2011-09-16 13:58:51 +00:00
vm_object.c Do not restart the scan in vm_object_page_clean() on the object 2012-01-04 16:04:20 +00:00
vm_object.h Change the type of the paging_in_progress refcounter from u_short to 2012-01-10 18:05:44 +00:00
vm_page.c exclude kmem_alloc'ed ARC data buffers from kernel minidumps on amd64 2012-01-27 20:18:31 +00:00
vm_page.h exclude kmem_alloc'ed ARC data buffers from kernel minidumps on amd64 2012-01-27 20:18:31 +00:00
vm_pageout.c Revert r212360 now that PowerPC can handle large sparse arguments to 2012-01-17 00:31:09 +00:00
vm_pageout.h
vm_pager.c Remove the condition that is always true. 2011-11-15 14:09:53 +00:00
vm_pager.h Update the device pager interface, while keeping the compatibility 2011-11-15 14:40:00 +00:00
vm_param.h
vm_phys.c Refactor the code that performs physically contiguous memory allocation, 2011-11-16 16:46:09 +00:00
vm_phys.h Refactor the code that performs physically contiguous memory allocation, 2011-11-16 16:46:09 +00:00
vm_reserv.c Introduce vm_reserv_alloc_contig() and teach vm_page_alloc_contig() how to 2011-12-05 18:29:25 +00:00
vm_reserv.h Introduce vm_reserv_alloc_contig() and teach vm_page_alloc_contig() how to 2011-12-05 18:29:25 +00:00
vm_unix.c Control the execution permission of the readable segments for 2011-10-15 12:35:18 +00:00
vm_zeroidle.c
vm.h
vnode_pager.c Rename vm_page_set_valid() to vm_page_set_valid_range(). 2011-11-30 17:39:00 +00:00
vnode_pager.h In the VOP_PUTPAGES() implementations, change the default error from 2011-06-01 21:00:28 +00:00