diff options
author | Miaohe Lin <[email protected]> | 2022-07-04 21:21:57 +0800 |
---|---|---|
committer | akpm <[email protected]> | 2022-07-17 17:14:46 -0700 |
commit | a17206dac7b262e7abed5a05e34a6bd6bd0a9b06 (patch) | |
tree | e9c97c453a0739493ec2b12bc91bb657514144ff /net/lapb/lapb_in.c | |
parent | 0b175468a02d9ae8b97919b4de62ab4da578b520 (diff) |
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/[email protected]
Signed-off-by: Miaohe Lin <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Muchun Song <[email protected]>
Cc: Yang Shi <[email protected]>
Cc: Zach O'Keefe <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions