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: cd0f371544 ("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>
This commit is contained in:
Hugh Dickins 2020-06-02 14:36:32 -07:00 коммит произвёл Linus Torvalds
Родитель faa392181a
Коммит 1966391fa5
1 изменённых файлов: 0 добавлений и 1 удалений

Просмотреть файл

@ -798,7 +798,6 @@ recheck_buffers:
goto unlock_buffers; goto unlock_buffers;
attach_page_private(newpage, detach_page_private(page)); attach_page_private(newpage, detach_page_private(page));
get_page(newpage);
bh = head; bh = head;
do { do {