Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 310430
b: refs/heads/master
c: 752dc18
h: refs/heads/master
v: v3
  • Loading branch information
Hugh Dickins authored and Linus Torvalds committed Jun 4, 2012
1 parent f7aaa64 commit 9c1dc49
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2f9d3df8aa1cc3c6db5cfa0bad3f0745e04cc27d
refs/heads/master: 752dc185dacba1edcba425e67fc6df3c7793a5c3
5 changes: 4 additions & 1 deletion trunk/mm/migrate.c
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,10 @@ void migrate_page_copy(struct page *newpage, struct page *page)
* is actually a signal that all of the page has become dirty.
* Whereas only part of our page may be dirty.
*/
__set_page_dirty_nobuffers(newpage);
if (PageSwapBacked(page))
SetPageDirty(newpage);
else
__set_page_dirty_nobuffers(newpage);
}

mlock_migrate_page(newpage, page);
Expand Down

0 comments on commit 9c1dc49

Please sign in to comment.