linux/mm/memblock.c
Mike Rapoport (Microsoft) 1864d4712c memblock: allow zero threshold in validate_numa_converage()
[ Upstream commit 9cdc6423ac ]

Currently memblock validate_numa_converage() returns false negative when
threshold set to zero.

Make the check if the memory size with invalid node ID is greater than
the threshold exclusive to fix that.

Link: https://lore.kernel.org/all/Z0mIDBD4KLyxyOCm@kernel.org/
Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-01-09 13:31:40 +01:00

2284 lines
64 KiB