mips/mm: Add page soft dirty tracking
authorGuoyun Sun <sunguoyun@loongson.cn>
Wed, 29 Apr 2020 08:44:32 +0000 (16:44 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Sun, 17 May 2020 08:39:19 +0000 (10:39 +0200)
commit2971317ab04a38e34be5f4d62a65000b63857686
tree7c886fd92f9828dcd02fc3fcaaee320aca49384e
parentac44d672787f7f61880114953654e22936c9b008
mips/mm: Add page soft dirty tracking

User space checkpoint and restart tool (CRIU) needs the page's change
to be soft tracked. This allows to do a pre checkpoint and then dump
only touched pages.

Signed-off-by: Guoyun Sun <sunguoyun@loongson.cn>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/include/asm/pgtable-bits.h
arch/mips/include/asm/pgtable.h