freebsd-dev/sys/i386
Alan Cox 43ded0a321 In pmap_advise(), when we encounter a superpage mapping, we first demote the
mapping and then destroy one of the 4 KB page mappings so that there is a
potential trigger for repromotion.  Currently, we destroy the first 4 KB
page mapping that falls within the (current) superpage mapping or the
virtual address range [sva, eva).  However, I have found empirically that
destroying the last 4 KB mapping produces slightly better results,
specifically, more promotions and fewer failed promotion attempts.
Accordingly, this revision changes pmap_advise() to destroy the last 4 KB
page mapping.  It also replaces some nearby uses of boolean_t with bool.

Reviewed by:	kib, markj
Differential Revision:	https://reviews.freebsd.org/D21115
2019-07-31 05:38:39 +00:00
..
acpica Merge ACPICA 20190329. 2019-03-29 20:21:28 +00:00
bios Use NULL for SYSINIT's last arg, which is a pointer type 2018-05-18 17:58:09 +00:00
cloudabi32 Remove sv_pagesize, originally introduced with r100384. 2019-03-01 16:16:38 +00:00
conf Remove gzip'ed a.out support. 2019-07-30 05:13:16 +00:00
i386 In pmap_advise(), when we encounter a superpage mapping, we first demote the 2019-07-31 05:38:39 +00:00
include Mitigations for Microarchitectural Data Sampling. 2019-05-14 17:02:20 +00:00
linux linuxulator: rename linux_locore.s to .asm 2019-07-30 17:18:31 +00:00
pci pci_cfgreg.c: Use io port config access for early boot time. 2019-04-09 18:07:17 +00:00
Makefile Remove iBCS2, part2: general kernel 2018-12-19 21:57:58 +00:00