]> git.baikalelectronics.ru Git - kernel.git/commit
mm: add architecture primitives for software dirty bit clearing
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 22 Apr 2015 12:20:47 +0000 (14:20 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 14 Oct 2015 12:32:05 +0000 (14:32 +0200)
commit8e05503a9d43352513dbe9aa8a474f2ba307c23e
tree3e0fdcfc4aa11a5eb0115e439163187eab446ac6
parent644cbf5e5e79d0ec66dd7b43fe23a146b1ef82ee
mm: add architecture primitives for software dirty bit clearing

There are primitives to create and query the software dirty bits
in a pte or pmd. But the clearing of the software dirty bits is done
in common code with x86 specific page table functions.

Add the missing architecture primitives to clear the software dirty
bits to allow the feature to be used on non-x86 systems, e.g. the
s390 architecture.

Acked-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/x86/include/asm/pgtable.h
fs/proc/task_mmu.c
include/asm-generic/pgtable.h