]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: softdirty: clear VM_SOFTDIRTY flag inside clear_refs_write() instead of clear_sof...
authorCyrill Gorcunov <gorcunov@openvz.org>
Thu, 22 May 2014 00:42:44 +0000 (10:42 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 May 2014 00:42:44 +0000 (10:42 +1000)
commitae2625691614b8e5f15666a00d068df37d82294d
tree565fae524a210bcb790d26fc53ab1538475176fa
parentedab7a7e7be320fabec6ecbecee1d7b5ffdf926f
mm: softdirty: clear VM_SOFTDIRTY flag inside clear_refs_write() instead of clear_soft_dirty()

clear_refs_write() is called earlier than clear_soft_dirty() and it is
more natural to clear VM_SOFTDIRTY (which belongs to VMA entry but not
PTEs) that early instead of clearing it a way deeper inside call chain.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: Pavel Emelyanov <xemul@parallels.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/proc/task_mmu.c