]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Simplify the condition to enable superpage mappings in vm_fault_soft_fast().
authorkib <kib@FreeBSD.org>
Wed, 27 May 2020 21:44:26 +0000 (21:44 +0000)
committerkib <kib@FreeBSD.org>
Wed, 27 May 2020 21:44:26 +0000 (21:44 +0000)
commit29eadb01b74a731ae35c2e7ad03ca93aa33ed10d
tree9df04718439c7f3339abf4275612caed31f008d4
parentd10d581667ba58ed6953eb404936236ee0e60b21
Simplify the condition to enable superpage mappings in vm_fault_soft_fast().

The list of arches list there matches the list of arches where
default VM_NRESERVLEVEL > 0.  Before sparc64 removal, that was the
only arch that defined VM_NRESERVLEVEL > 0 to help with cache coloring,
but did not implemented superpages.  Now it can be simplified.

Submitted by: alc
Reviewed by: markj
sys/vm/vm_fault.c