]> Git Repo - linux.git/commit - mm/memory.c
mm: save soft-dirty bits on file pages
authorCyrill Gorcunov <[email protected]>
Tue, 13 Aug 2013 23:00:51 +0000 (16:00 -0700)
committerLinus Torvalds <[email protected]>
Wed, 14 Aug 2013 00:57:48 +0000 (17:57 -0700)
commit41bb3476b361ef38576cf9d539b19bae2ac93167
tree907f72f0cc27762a9cb9c2857fe6c360524112f9
parent179ef71cbc085252e3fe6b8159263a7ed1d88ea4
mm: save soft-dirty bits on file pages

Andy reported that if file page get reclaimed we lose the soft-dirty bit
if it was there, so save _PAGE_BIT_SOFT_DIRTY bit when page address get
encoded into pte entry.  Thus when #pf happens on such non-present pte
we can restore it back.

Reported-by: Andy Lutomirski <[email protected]>
Signed-off-by: Cyrill Gorcunov <[email protected]>
Acked-by: Pavel Emelyanov <[email protected]>
Cc: Matt Mackall <[email protected]>
Cc: Xiao Guangrong <[email protected]>
Cc: Marcelo Tosatti <[email protected]>
Cc: KOSAKI Motohiro <[email protected]>
Cc: Stephen Rothwell <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: "Aneesh Kumar K.V" <[email protected]>
Cc: Minchan Kim <[email protected]>
Cc: Wanpeng Li <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/x86/include/asm/pgtable-2level.h
arch/x86/include/asm/pgtable-3level.h
arch/x86/include/asm/pgtable.h
arch/x86/include/asm/pgtable_types.h
fs/proc/task_mmu.c
include/asm-generic/pgtable.h
mm/fremap.c
mm/memory.c
mm/rmap.c
This page took 0.053926 seconds and 4 git commands to generate.