PC-BSD/trueos fa6eb68sys/amd64/amd64 pmap.c, sys/arm64/arm64 pmap.c

MFC r350463
  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.
DeltaFile
+20-12sys/i386/i386/pmap.c
+17-9sys/amd64/amd64/pmap.c
+13-5sys/arm64/arm64/pmap.c
+50-263 files

UnifiedSplitRaw