Skip to content

RFC relax anon mTHP PTE Mapping restrictions

Lance Yang linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mm/mthp: add pte_range_none_or_zeropfn() helpermm/memory.c+40 -30 replies
2/2mm/mthp: relax anon mTHP PTE Mapping restrictionsmm/memory.c+9 -24 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/2] relax anon mTHP PTE Mapping restrictions

Hey all,

Previously, mTHP could only be mapped to PTEs where all entries were none. With this change, PTEs within the range mapping the demand-zero page can now be treated as pte_none and remapped to a new mTHP, providing more opportunities to take advantage of mTHP.

Lance Yang (2):
mm/mthp: add pte_range_none_or_zeropfn() helper mm/mthp: relax anon mTHP PTE Mapping restrictions

 mm/memory.c | 54 ++++++++++++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 49 insertions(+), 5 deletions(-)
Signature · 1 line
2.45.2