[PATCH v2 0/5] mm: dirty/accessed pte optimisations

From: Nicholas Piggin
Date: Tue Oct 16 2018 - 09:14:00 EST

Since v1 I fixed the hang in nios2, split the fork patch into two
as Linus asked, and added hugetlb code for the "don't bother write
protecting already writeprotected" patch.

Please consider this for more cooking in -mm.


Nicholas Piggin (5):
nios2: update_mmu_cache clear the old entry from the TLB
mm/cow: don't bother write protecting already write-protected huge
mm/cow: optimise pte accessed bit handling in fork
mm/cow: optimise pte dirty bit handling in fork
mm: optimise pte dirty/accessed bit setting by demand based pte

arch/nios2/mm/cacheflush.c | 2 ++
mm/huge_memory.c | 24 ++++++++++++++++--------
mm/hugetlb.c | 2 +-
mm/memory.c | 19 +++++++++++--------
mm/vmscan.c | 8 ++++++++
5 files changed, 38 insertions(+), 17 deletions(-)