freebsd-src/sys/amd64
Alan Cox 34eeabff5a amd64/arm64 pmap: Stop requiring the accessed bit for superpage promotion
Stop requiring all of the PTEs to have the accessed bit set for superpage
promotion to occur.  Given that change, add support for promotion to
pmap_enter_quick(), which does not set the accessed bit in the PTE that
it creates.

Since the final mapping within a superpage-aligned and sized region of a
memory-mapped file is typically created by a call to pmap_enter_quick(),
we now achieve promotions in circumstances where they did not occur
before, for example, the X server's read-only mapping of libLLVM-15.so.

See also https://www.usenix.org/system/files/atc20-zhu-weixi_0.pdf

Reviewed by:	kib, markj
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D40478
2023-06-12 13:40:57 -05:00
..
acpica spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
amd64 amd64/arm64 pmap: Stop requiring the accessed bit for superpage promotion 2023-06-12 13:40:57 -05:00
conf gve: Fix build on i386 and enable LINT builds. 2023-06-04 16:35:00 -07:00
ia32 spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
include amd64/arm64 pmap: Stop requiring the accessed bit for superpage promotion 2023-06-12 13:40:57 -05:00
linux Regenerate sysent stuff after $FreeBSD$ removal 2023-06-09 07:28:27 -06:00
linux32 Regenerate sysent stuff after $FreeBSD$ removal 2023-06-09 07:28:27 -06:00
pci spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
sgx sgx: Remove unused variable. 2022-04-07 17:01:28 -07:00
vmm vmm: Avoid embedding cpuset_t ioctl ABIs 2023-05-23 21:15:59 -04:00
Makefile Bring the tags and links entries for amd64 up to date. 2021-09-27 20:04:51 -07:00