diff options
| author | Brendan Jackman <jackmanb@google.com> | 2025-02-25 21:45:09 +0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2025-03-17 08:06:44 +0300 |
| commit | ebc29409c2966bd6a6215b27fc654de7f55ce099 (patch) | |
| tree | a282e8dea7709f6a34df28265da632a508a31d3d /include/linux | |
| parent | 88fb7794f69375b08ff5432d8b5bc79eeb3e1dbe (diff) | |
| download | linux-ebc29409c2966bd6a6215b27fc654de7f55ce099.tar.xz | |
mm/page_alloc: warn on nr_reserved_highatomic underflow
As documented in the comment this underflow should not happen. The
locking has indeed changed here since the comment was written, see the
migratetype hygiene patches[0]. However, those changes made the locking
_safer_, so the underflow _really_ shouldn't happen now. So upgrade the
comment to a warning.
[0] https://lore.kernel.org/all/20240320180429.678181-7-hannes@cmpxchg.org/T/#m3da87e6cc3348a4640aa298137bc9f8f61b76c84
Link: https://lkml.kernel.org/r/20250225-warn-underflow-v1-1-3dc542941d3a@google.com
Signed-off-by: Brendan Jackman <jackmanb@google.com>
Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
