mm: improve pte updates and dirty/accessed
Get series with b4
b4 am [email protected]Versions newest first
- v3 Latest3 patches 4 repliesIn review
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | mm/cow: don't bother write protecting already write-protected huge pagesmm/ mm/ | +11 | 0 replies | |
| 2/3 | mm/cow: optimise pte accessed bit handling in forkmm/ mm/ mm/ | +5 | 0 replies | |
| 3/3 | mm: optimise pte dirty/accessed bit setting by demand based pte insertionarch/ include/ mm/ +4 more | +12 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/3] mm: improve pte updates and dirty/accessed
Time to get this old series out again. Since last time, Bibo found a couple of the same cases I did (for MIPS only) which I extend to all archs, and I dropped the "make the pte dirty if the fork parent was dirty" due to Linus pointing out a dirty PTE costs more to unmap. It didn't seem to help a great deal anyway on the access-side fortunately.
Thanks,
Nick
Nicholas Piggin (3):
mm/cow: don't bother write protecting already write-protected huge
pages
mm/cow: optimise pte accessed bit handling in fork
mm: optimise pte dirty/accessed bit setting by demand based pte
insertion
arch/mips/include/asm/pgtable.h | 2 -- include/linux/pgtable.h | 16 ---------------- mm/huge_memory.c | 16 ++++++++++------ mm/hugetlb.c | 2 +- mm/memory.c | 15 +++++++-------- mm/migrate.c | 1 + mm/shmem.c | 1 + mm/userfaultfd.c | 2 +- mm/vmscan.c | 5 +++++ 9 files changed, 26 insertions(+), 34 deletions(-)
Signature · 1 line
2.23.0