Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 95305
b: refs/heads/master
c: 3a902c5
h: refs/heads/master
i:
  95303: 700f98e
v: v3
  • Loading branch information
Nick Piggin authored and Linus Torvalds committed Apr 30, 2008
1 parent ba89802 commit 699d08d
Show file tree
Hide file tree
Showing 2 changed files with 9 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: 969a19f1c405a8e9d15ceb9e75e3f4a321aaf56f
refs/heads/master: 3a902c5f6851cd0b64c33efaa3bd57aa27a82efb
9 changes: 8 additions & 1 deletion trunk/mm/migrate.c
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,14 @@ static void migrate_page_copy(struct page *newpage, struct page *page)

if (PageDirty(page)) {
clear_page_dirty_for_io(page);
set_page_dirty(newpage);
/*
* Want to mark the page and the radix tree as dirty, and
* redo the accounting that clear_page_dirty_for_io undid,
* but we can't use set_page_dirty because that function
* is actually a signal that all of the page has become dirty.
* Wheras only part of our page may be dirty.
*/
__set_page_dirty_nobuffers(newpage);
}

#ifdef CONFIG_SWAP
Expand Down

0 comments on commit 699d08d

Please sign in to comment.