mm/huge_memory: don't mark refcounted pages special in vmf_insert_folio_*()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 11 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | mm/huge_memory: don't mark refcounted pages special in vmf_insert_folio_pmd()mm/ | +32 | 6 replies | |
| 2/2 | mm/huge_memory: don't mark refcounted pages special in vmf_insert_folio_pud()include/ mm/ | +38 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Dan Williams | Oscar Salvador |
|---|---|---|
| Series | T-b R-b | |
| 1/2 | R-b | |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v1 0/2] mm/huge_memory: don't mark refcounted pages special in vmf_insert_folio_*()
Based on Linus' master.
While working on improving vm_normal_page() and friends, I stumbled over this issues: refcounted "normal" pages must not be marked using pmd_special() / pud_special().
Fortunately, so far there doesn't seem to be serious damage.
This is only compile-tested so far. Still looking for an easy way to test PMD/PUD mappings with DAX. Any tests I can easily run?
David Hildenbrand (2):
mm/huge_memory: don't mark refcounted pages special in
vmf_insert_folio_pmd()
mm/huge_memory: don't mark refcounted pages special in
vmf_insert_folio_pud()
include/linux/mm.h | 15 ++++++++++ mm/huge_memory.c | 72 +++++++++++++++++++++++++++++++++++----------- 2 files changed, 70 insertions(+), 17 deletions(-)
base-commit: a9dfb7db96f7bc1f30feae673aab7fdbfbc94e9c
Signature · 1 line
2.49.0