From: Cyrill Gorcunov Date: Wed, 4 Jun 2014 23:06:43 +0000 (-0700) Subject: mm: softdirty: clear VM_SOFTDIRTY flag inside clear_refs_write() instead of clear_sof... X-Git-Tag: omap-for-v3.16/fixes-against-rc1~56^2~16^2~226 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c86c97ff42cd6c6d1bd29eca4dfabeaf2b7f1020;p=pandora-kernel.git 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 Cc: Pavel Emelyanov Cc: Hugh Dickins Cc: Naoya Horiguchi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed