]> 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>
Wed, 14 May 2014 00:01:37 +0000 (10:01 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 14 May 2014 00:01:37 +0000 (10:01 +1000)
commit25dcffe4f379cfecfa8ad208212d14abe3014a54
tree77e529cba258e54e07ed34974677673c99259794
parentb9bec7af0718d7b6354aee2831670b8608d1f557
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