diff options
author | Axel Rasmussen <axelrasmussen@google.com> | 2024-08-14 14:50:37 -0700 |
---|---|---|
committer | Vlastimil Babka <vbabka@suse.cz> | 2024-08-26 21:19:54 +0200 |
commit | bf6b9e9ba0861c92b08c77edbd5d602063443c5f (patch) | |
tree | 8472a959eb1ed0469342d57b226a15eb1f2ef5c1 /lib/overflow_kunit.c | |
parent | 4c39529663b93165953ecf9b1a9ea817358dcd06 (diff) |
mm, slub: print CPU id (and its node) on slab OOM
Depending on how remote_node_defrag_ratio is configured, allocations can
end up in this path as a result of the local node being OOM, despite the
allocation overall being unconstrained (node == -1).
When we print a warning, printing the current CPU makes that situation
more clear (i.e., you can immediately see which node's OOM status
matters for the allocation at hand).
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Axel Rasmussen <axelrasmussen@google.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'lib/overflow_kunit.c')
0 files changed, 0 insertions, 0 deletions