diff options
| author | Miaohe Lin <[email protected]> | 2023-07-04 19:18:23 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-08-18 10:12:10 -0700 |
| commit | 82d9b8c85b7e4bd85c679ac2da26b57224c4999d (patch) | |
| tree | e6454a7d80da582b41fe22e2280c41c74706e625 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 3d0745e59c840e64c6b7bf102c43bec29337605d (diff) | |
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.
[[email protected]: code simplification, per Matthew]
Link: https://lkml.kernel.org/r/[email protected]
Fixes: bdc8cb984576 ("[PATCH] memory hotplug locking: zone span seqlock")
Signed-off-by: Miaohe Lin <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions