Skip to content

Commit 1966391

Browse files
Hugh Dickinstorvalds
authored andcommitted
mm/migrate.c: attach_page_private already does the get_page
Just finished bisecting mmotm, to find why a test which used to take four minutes now took more than an hour: the __buffer_migrate_page() cleanup left behind a get_page() which attach_page_private() now does. Fixes: cd0f371 ("mm/migrate.c: call detach_page_private to cleanup code") Signed-off-by: Hugh Dickins <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent faa3921 commit 1966391

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

mm/migrate.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,6 @@ static int __buffer_migrate_page(struct address_space *mapping,
798798
goto unlock_buffers;
799799

800800
attach_page_private(newpage, detach_page_private(page));
801-
get_page(newpage);
802801

803802
bh = head;
804803
do {

0 commit comments

Comments
 (0)