aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.h
diff options
context:
space:
mode:
authorWei Yang <[email protected]>2025-03-18 07:19:47 +0000
committerMike Rapoport (Microsoft) <[email protected]>2025-04-07 06:28:01 +0000
commiteac8ea8736ccc09513152d970eb2a42ed78e87e8 (patch)
treed0ac7a16783708306a21f288d1c10850832e9272 /net/unix/af_unix.h
parentmm/memblock: pass size instead of end to memblock_set_node() (diff)
downloadkernel-eac8ea8736ccc09513152d970eb2a42ed78e87e8.tar.gz
kernel-eac8ea8736ccc09513152d970eb2a42ed78e87e8.zip
mm/memblock: repeat setting reserved region nid if array is doubled
Commit 61167ad5fecd ("mm: pass nid to reserve_bootmem_region()") introduce a way to set nid to all reserved region. But there is a corner case it will leave some region with invalid nid. When memblock_set_node() doubles the array of memblock.reserved, it may lead to a new reserved region before current position. The new region will be left with an invalid node id. Repeat the process when detecting it. Fixes: 61167ad5fecd ("mm: pass nid to reserve_bootmem_region()") Signed-off-by: Wei Yang <[email protected]> CC: Mike Rapoport <[email protected]> CC: Yajun Deng <[email protected]> CC: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mike Rapoport (Microsoft) <[email protected]>
Diffstat (limited to 'net/unix/af_unix.h')
0 files changed, 0 insertions, 0 deletions