summaryrefslogtreecommitdiff
path: root/Documentation/arch/arm64
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2023-07-04 19:18:23 +0800
committerAndrew Morton <akpm@linux-foundation.org>2023-08-18 10:12:10 -0700
commit82d9b8c85b7e4bd85c679ac2da26b57224c4999d (patch)
treee6454a7d80da582b41fe22e2280c41c74706e625 /Documentation/arch/arm64
parent3d0745e59c840e64c6b7bf102c43bec29337605d (diff)
downloadlwn-82d9b8c85b7e4bd85c679ac2da26b57224c4999d.tar.gz
lwn-82d9b8c85b7e4bd85c679ac2da26b57224c4999d.zip
mm: page_alloc: avoid false page outside zone error info
If pfn is outside zone boundaries in the first round, ret will be set to 1. But if pfn is changed to inside the zone boundaries in zone span seqretry path, ret is still set to 1 leading to false page outside zone error info. This is from code inspection. The race window should be really small thus hard to trigger in real world. [akpm@linux-foundation.org: code simplification, per Matthew] Link: https://lkml.kernel.org/r/20230704111823.940331-1-linmiaohe@huawei.com Fixes: bdc8cb984576 ("[PATCH] memory hotplug locking: zone span seqlock") Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Cc: Matthew Wilcox <willy@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'Documentation/arch/arm64')
0 files changed, 0 insertions, 0 deletions