linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] mm: soft-dirty bits for s390
@ 2015-09-21 15:22 Martin Schwidefsky
  2015-09-21 15:22 ` [PATCH 1/2] mm: add architecture primitives for software dirty bit clearing Martin Schwidefsky
  2015-09-21 15:22 ` [PATCH 2/2] s390/mm: implement soft-dirty bits for user memory change tracking Martin Schwidefsky
  0 siblings, 2 replies; 7+ messages in thread
From: Martin Schwidefsky @ 2015-09-21 15:22 UTC (permalink / raw)
  To: Cyrill Gorcunov, linux-mm, linux-arch; +Cc: Martin Schwidefsky

Greetings,

this patch set of two adds memory change tracking alias soft-dirty
feature to the s390 architecture.

The first patch is a cleanup of the existing x86 support, it adds two
arch specific functions pte_clear_soft_dirty and pmd_clear_soft_dirty
to complement the other xxx_soft_dirty functions. This removes the
use of a x86 specific function in fs/proc/tasm_mmu.c.

The second patch is the s390 arch support.

Tested on x86 and s390, seems to work as intended for both platforms.
If the first patch is acceptable I can queue the set on the linux-s390
tree for the 4.4 merge window in a couple of weeks.

Martin Schwidefsky (2):
  mm: add architecture primitives for software dirty bit clearing
  s390/mm: implement soft-dirty bits for user memory change tracking

 arch/s390/Kconfig               |  1 +
 arch/s390/include/asm/pgtable.h | 59 ++++++++++++++++++++++++++++++++++++++---
 arch/s390/mm/hugetlbpage.c      |  2 ++
 arch/x86/include/asm/pgtable.h  | 10 +++++++
 fs/proc/task_mmu.c              |  4 +--
 include/asm-generic/pgtable.h   | 10 +++++++
 6 files changed, 80 insertions(+), 6 deletions(-)

-- 
1.9.1

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-09-22 10:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-21 15:22 [PATCH 0/2] mm: soft-dirty bits for s390 Martin Schwidefsky
2015-09-21 15:22 ` [PATCH 1/2] mm: add architecture primitives for software dirty bit clearing Martin Schwidefsky
2015-09-21 19:48   ` Cyrill Gorcunov
2015-09-22  7:35     ` Martin Schwidefsky
2015-09-22  9:09       ` Cyrill Gorcunov
2015-09-22 10:30         ` Martin Schwidefsky
2015-09-21 15:22 ` [PATCH 2/2] s390/mm: implement soft-dirty bits for user memory change tracking Martin Schwidefsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).