Commit 1864d471 authored by Mike Rapoport (Microsoft)'s avatar Mike Rapoport (Microsoft) Committed by Greg Kroah-Hartman
Browse files

memblock: allow zero threshold in validate_numa_converage()

[ Upstream commit 9cdc6423 ]

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: default avatarMike Rapoport (Microsoft) <rppt@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 6fdc7705
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment