summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2022-07-04 21:21:57 +0800
committerakpm <akpm@linux-foundation.org>2022-07-17 17:14:46 -0700
commita17206dac7b262e7abed5a05e34a6bd6bd0a9b06 (patch)
treee9c97c453a0739493ec2b12bc91bb657514144ff /Makefile
parent0b175468a02d9ae8b97919b4de62ab4da578b520 (diff)
downloadlinux-a17206dac7b262e7abed5a05e34a6bd6bd0a9b06.tar.bz2
mm/huge_memory: minor cleanup for split_huge_pages_all
There is nothing to do if a zone doesn't have any pages managed by the buddy allocator. So we should check managed_zone instead. Also if a thp is found, there's no need to traverse the subpages again. Link: https://lkml.kernel.org/r/20220704132201.14611-13-linmiaohe@huawei.com Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Cc: Matthew Wilcox <willy@infradead.org> Cc: Muchun Song <songmuchun@bytedance.com> Cc: Yang Shi <shy828301@gmail.com> Cc: Zach O'Keefe <zokeefe@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions