diff options
author | Miaohe Lin <[email protected]> | 2021-09-07 19:55:52 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2021-09-08 11:50:23 -0700 |
commit | 5ef5f810199f421cb6455aa018fb8f21151b4a16 (patch) | |
tree | b8ba704526766499266dfcdef99823e72b16d42e /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 3fcebf90209a7f52d384ad7701425aa91be309ab (diff) |
mm/memory_hotplug: use helper zone_is_zone_device() to simplify the code
Patch series "Cleanup and fixups for memory hotplug".
This series contains cleanup to use helper function to simplify the code.
Also we fix some potential bugs. More details can be found in the
respective changelogs.
This patch (of 3):
Use helper zone_is_zone_device() to simplify the code and remove some
explicit CONFIG_ZONE_DEVICE codes.
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Miaohe Lin <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Reviewed-by: Oscar Salvador <[email protected]>
Reviewed-by: Naoya Horiguchi <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Minchan Kim <[email protected]>
Cc: Chris Goldsworthy <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions