freebsd-skq/sys/vm
Jason A. Harmening 8dc8feb53d Clean up a couple of MD warts in vm_fault_populate():
--Eliminate a big ifdef that encompassed all currently-supported
architectures except mips and powerpc32.  This applied to the case
in which we've allocated a superpage but the pager-populated range
is insufficient for a superpage mapping.  For platforms that don't
support superpages the check should be inexpensive as we shouldn't
get a superpage in the first place.  Make the normal-page fallback
logic identical for all platforms and provide a simple implementation
of pmap_ps_enabled() for MIPS and Book-E/AIM32 powerpc.

--Apply the logic for handling pmap_enter() failure if a superpage
mapping can't be supported due to additional protection policy.
Use KERN_PROTECTION_FAILURE instead of KERN_FAILURE for this case,
and note Intel PKU on amd64 as the first example of such protection
policy.

Reviewed by:	kib, markj, bdragon
Differential Revision:	https://reviews.freebsd.org/D29439
2021-03-30 18:15:55 -07:00
..
_vm_phys.h
_vm_radix.h
default_pager.c
device_pager.c
memguard.c
memguard.h
phys_pager.c
pmap.h
redzone.c
redzone.h
sg_pager.c
swap_pager.c
swap_pager.h
uma_core.c uma: allow uma_zfree_pcu(..., NULL) 2021-03-12 12:12:35 +01:00
uma_dbg.c
uma_dbg.h
uma_int.h
uma.h
vm_domainset.c
vm_domainset.h
vm_dumpset.h
vm_extern.h
vm_fault.c Clean up a couple of MD warts in vm_fault_populate(): 2021-03-30 18:15:55 -07:00
vm_glue.c
vm_init.c
vm_kern.c vm_kern: Avoid sign extension in the KVA_QUANTUM definition 2021-02-22 15:50:09 -05:00
vm_kern.h
vm_map.c vm_map_protect(): remove not needed recalculations of new_prot, new_maxprot 2021-01-14 10:02:43 +02:00
vm_map.h
vm_meter.c Use atomic loads/stores when updating td->td_state 2021-02-18 14:02:48 +00:00
vm_mmap.c Rename kern_mmap_req to kern_mmap 2021-01-25 21:50:37 +00:00
vm_object.c
vm_object.h
vm_page.c vm: Round up npages and alignment for contig reclamation 2021-03-02 10:21:02 -05:00
vm_page.h Add a VM flag to prevent reclaim on a failed contig allocation 2021-02-03 16:16:51 -05:00
vm_pageout.c
vm_pageout.h
vm_pagequeue.h
vm_pager.c
vm_pager.h
vm_param.h
vm_phys.c
vm_phys.h
vm_radix.c
vm_radix.h
vm_reserv.c vm_reserv: Fix list locking in vm_reserv_reclaim_contig() 2021-03-11 10:35:35 -05:00
vm_reserv.h
vm_swapout_dummy.c
vm_swapout.c
vm_unix.c
vm.h Add a VA_IS_CLEANMAP() macro. 2021-02-17 16:32:11 -08:00
vnode_pager.c Remove unused obj variable missed in r354870. 2021-03-17 15:29:15 -07:00
vnode_pager.h