Commit bf6b9e9
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>1 parent 4c39529 commit bf6b9e9
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3416 | 3416 | | |
3417 | 3417 | | |
3418 | 3418 | | |
| 3419 | + | |
3419 | 3420 | | |
3420 | 3421 | | |
3421 | 3422 | | |
3422 | 3423 | | |
3423 | 3424 | | |
3424 | 3425 | | |
3425 | | - | |
3426 | | - | |
| 3426 | + | |
| 3427 | + | |
3427 | 3428 | | |
3428 | 3429 | | |
3429 | 3430 | | |
| |||
0 commit comments