[PATCH 0/3] mm: dirty/accessed pte optimisations

From: Nicholas Piggin
Date: Tue Aug 28 2018 - 07:20:48 EST


Here are some patches that didn't get much comment last time. It
looks like x86 might benefit too though, so that might get people
interested.

I improved changelogs and added some comments, but no real logic
changes.

I hope I didn't get the x86 numbers wrong, they're more significant
than I expected so it could quite well be a problem with my test
(corrections welcome). Any data from other archs would be interesting
too.

Andrew perhaps if there aren't objections these could go in mm for
a while.

Thanks,
Nick


Nicholas Piggin (3):
mm/cow: don't bother write protectig already write-protected huge
pages
mm/cow: optimise pte dirty/accessed bits handling in fork
mm: optimise pte dirty/accessed bit setting by demand based pte
insertion

mm/huge_memory.c | 24 +++++++++++++++---------
mm/memory.c | 18 ++++++++++--------
mm/vmscan.c | 8 ++++++++
3 files changed, 33 insertions(+), 17 deletions(-)

--
2.18.0