commit | e5c15cea339115edf99dc92282865f173cf84510 | [log] [tgz] |
---|---|---|
author | Yanfei Xu <yanfei.xu@windriver.com> | Wed Jul 14 21:26:49 2021 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Jul 15 10:13:49 2021 -0700 |
tree | a1eae9d24bb14b5e06e7ac0f49a4a9e407563cb0 | |
parent | 187ad460b8413e863c951998cb321a117a717868 [diff] |
mm/page_alloc: correct return value when failing at preparing If the array passed in is already partially populated, we should return "nr_populated" even failing at preparing arguments stage. Link: https://lkml.kernel.org/r/20210713152100.10381-3-mgorman@techsingularity.net Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com> Signed-off-by: Mel Gorman <mgorman@techsingularity.net> Link: https://lore.kernel.org/r/20210709102855.55058-1-yanfei.xu@windriver.com Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>