commit | 9a5b489b870def9a93f5e89dac03ebe136f901db | [log] [tgz] |
---|---|---|
author | Andrea Arcangeli <aarcange@redhat.com> | Mon Aug 09 17:19:49 2010 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Mon Aug 09 20:45:02 2010 -0700 |
tree | df7f0acfdb81ce0d77b78ff4d131c40472731994 | |
parent | ad8c2ee801ad7a52d919b478d9b2c7b39a72d295 [diff] |
mm: set VM_FAULT_WRITE in do_swap_page() Set the flag if do_swap_page is decowing the page the same way do_wp_page would too. Signed-off-by: Andrea Arcangeli <aarcange@redhat.com> Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Cc: Rik van Riel <riel@redhat.com> Cc: Nick Piggin <nickpiggin@yahoo.com.au> Cc: Hugh Dickins <hughd@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>