aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/radix-tree/linux/xarray.h
diff options
context:
space:
mode:
authorMiaohe Lin <[email protected]>2022-03-22 14:47:22 -0700
committerLinus Torvalds <[email protected]>2022-03-22 15:57:10 -0700
commitb27340a5bda4e35453d186e25622bacc3cf595c2 (patch)
tree48ad0edf8d44fdf64b7f742a10bede49bb0459f5 /tools/testing/radix-tree/linux/xarray.h
parentd6aad2016a3f902153d7b8b7e02da2c7c50c10a4 (diff)
mm/memory_hotplug: clean up try_offline_node
We can use helper macro node_spanned_pages to check whether node spans pages. And we can change the parameter of check_cpu_on_node to nid as that's what it really cares. Thus we can further get rid of the local variable pgdat and improve the readability a bit. 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]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/testing/radix-tree/linux/xarray.h')
0 files changed, 0 insertions, 0 deletions