diff options
| author | Miaohe Lin <[email protected]> | 2022-07-04 21:22:01 +0800 |
|---|---|---|
| committer | akpm <[email protected]> | 2022-07-17 17:14:47 -0700 |
| commit | e75858b904b44510b7f4a0f8f1c08dfc0bf9009b (patch) | |
| tree | d4a1a752c313a2b323bcd87f0dd2342e0cac9452 /tools/perf/scripts/python | |
| parent | cea3332808f92c0120fb0b157c56d48639e0c713 (diff) | |
mm/huge_memory: use helper macro IS_ERR_OR_NULL in split_huge_pages_pid
Use helper macro IS_ERR_OR_NULL to check the validity of page to simplify
the code. Minor readability improvement.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Miaohe Lin <[email protected]>
Reviewed-by: Muchun Song <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Yang Shi <[email protected]>
Cc: Zach O'Keefe <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions