aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/radix-tree/linux/xarray.h
diff options
context:
space:
mode:
authorMiaohe Lin <[email protected]>2022-03-22 14:47:19 -0700
committerLinus Torvalds <[email protected]>2022-03-22 15:57:10 -0700
commitd6aad2016a3f902153d7b8b7e02da2c7c50c10a4 (patch)
treed96c7f53b13a46c6d288c057d0608b24a3b0da32 /tools/testing/radix-tree/linux/xarray.h
parent2b6bf15f464620bbee08e8257d11f8f9f7f8725f (diff)
mm/memory_hotplug: avoid calling zone_intersects() for ZONE_NORMAL
If zid reaches ZONE_NORMAL, the caller will always get the NORMAL zone no matter what zone_intersects() returns. So we can save some possible cpu cycles by avoid calling zone_intersects() for ZONE_NORMAL. 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