Commit be3a0ee8 authored by Kirill A. Shutemov's avatar Kirill A. Shutemov Committed by Wupeng Ma
Browse files

mm, thp: do not queue fully unmapped pages for deferred split

mainline inclusion
from mainline-v5.5-rc1
commit f1fe80d4
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I9NU9F

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f1fe80d4ae3396cf3665bd6dc77f4004c1c2e9f8

--------------------------------

Adding fully unmapped pages into deferred split queue is not productive:
these pages are about to be freed or they are pinned and cannot be split
anyway.

Link: http://lkml.kernel.org/r/20190913091849.11151-1-kirill.shutemov@linux.intel.com


Signed-off-by: default avatarKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Reviewed-by: default avatarYang Shi <yang.shi@linux.alibaba.com>
Cc: Michal Hocko <mhocko@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: default avatarMa Wupeng <mawupeng1@huawei.com>
parent 7d91c9c7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment