]> git.baikalelectronics.ru Git - kernel.git/commit
mm/migrate.c: attach_page_private already does the get_page
authorHugh Dickins <hughd@google.com>
Tue, 2 Jun 2020 21:36:32 +0000 (14:36 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 2 Jun 2020 22:19:42 +0000 (15:19 -0700)
commitb9d7ee83e6a7ff25720ad2688b586328a33650ce
treec8352449a53ebaaa712637e79fc4c69b1cd376c8
parentfe92c2fbf23b349c14a42c5e4cc9893dbabc93c7
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: 4a4520829a55 ("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>
mm/migrate.c