Remove support for idle page zeroing.
authormarkj <markj@FreeBSD.org>
Sat, 3 Sep 2016 20:38:13 +0000 (20:38 +0000)
committermarkj <markj@FreeBSD.org>
Sat, 3 Sep 2016 20:38:13 +0000 (20:38 +0000)
commitfb5804c98d42ad4c49e051a7f4e99de93dfb2b51
tree00dbc5884c6ed5cf3be2cb7155400a081c80f720
parentb1940da869ce41744b090a2312f232ba995e67a5
Remove support for idle page zeroing.

Idle page zeroing has been disabled by default on all architectures since
r170816 and has some bugs that make it seemingly unusable. Specifically,
the idle-priority pagezero thread exacerbates contention for the free page
lock, and yields the CPU without releasing it in non-preemptive kernels. The
pagezero thread also does not behave correctly when superpage reservations
are enabled: its target is a function of v_free_count, which includes
reserved-but-free pages, but it is only able to zero pages belonging to the
physical memory allocator.

Reviewed by: alc, imp, kib
Differential Revision: https://reviews.freebsd.org/D7714
25 files changed:
share/man/man9/Makefile
share/man/man9/pmap.9
share/man/man9/pmap_zero_page.9
sys/amd64/amd64/pmap.c
sys/arm/arm/pmap-v4.c
sys/arm/arm/pmap-v6.c
sys/arm64/arm64/pmap.c
sys/conf/files
sys/i386/i386/pmap.c
sys/i386/include/pmap.h
sys/mips/mips/pmap.c
sys/powerpc/aim/mmu_oea.c
sys/powerpc/aim/mmu_oea64.c
sys/powerpc/booke/pmap.c
sys/powerpc/powerpc/mmu_if.m
sys/powerpc/powerpc/pmap_dispatch.c
sys/riscv/riscv/pmap.c
sys/sparc64/sparc64/pmap.c
sys/vm/pmap.h
sys/vm/vm_meter.c
sys/vm/vm_page.c
sys/vm/vm_page.h
sys/vm/vm_phys.c
sys/vm/vm_phys.h
sys/vm/vm_zeroidle.c [deleted file]