]> git.baikalelectronics.ru Git - kernel.git/commit
mm, thp: do not queue fully unmapped pages for deferred split
authorKirill A. Shutemov <kirill@shutemov.name>
Sun, 1 Dec 2019 01:57:15 +0000 (17:57 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 1 Dec 2019 20:59:09 +0000 (12:59 -0800)
commiteb813dce971ce688f92b4ad1a193049eefc84db0
tree0c016f5ea0da2e28754532129a7b417b4df2a36f
parentcac791fc0f9ae3e6d0b0a32fcda3de527265695e
mm, thp: do not queue fully unmapped pages for deferred split

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: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Reviewed-by: Yang Shi <yang.shi@linux.alibaba.com>
Cc: Michal Hocko <mhocko@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/rmap.c