diff options
author | Hugh Dickins <hughd@google.com> | 2020-06-02 23:36:32 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-06-03 00:19:42 +0200 |
commit | 1966391fa576e1fb2701be8bcca197d8f72737b7 (patch) | |
tree | c8352449a53ebaaa712637e79fc4c69b1cd376c8 /mm/migrate.c | |
parent | Merge tag 'drm-next-2020-06-02' of git://anongit.freedesktop.org/drm/drm (diff) | |
download | linux-1966391fa576e1fb2701be8bcca197d8f72737b7.tar.xz linux-1966391fa576e1fb2701be8bcca197d8f72737b7.zip |
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: cd0f37154443 ("mm/migrate.c: call detach_page_private to cleanup code")
Signed-off-by: Hugh Dickins <hughd@google.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r-- | mm/migrate.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/migrate.c b/mm/migrate.c index fb425d86c115..846af96b84a5 100644 --- a/mm/migrate.c +++ b/mm/migrate.c @@ -798,7 +798,6 @@ recheck_buffers: goto unlock_buffers; attach_page_private(newpage, detach_page_private(page)); - get_page(newpage); bh = head; do { |