diff options
author | Roman Gushchin <[email protected]> | 2020-10-17 16:13:53 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2020-10-18 09:27:09 -0700 |
commit | 4127c6504f25c4fcff52dc996efda2ef859dd661 (patch) | |
tree | 1b8a30f5ac74b6405fbd14f184967cfaaaac9328 /scripts/gdb/linux/tasks.py | |
parent | 37d5985c003daab138a72dd4af9853b396d91c26 (diff) |
mm: kmem: enable kernel memcg accounting from interrupt contexts
If a memcg to charge can be determined (using remote charging API), there
are no reasons to exclude allocations made from an interrupt context from
the accounting.
Such allocations will pass even if the resulting memcg size will exceed
the hard limit, but it will affect the application of the memory pressure
and an inability to put the workload under the limit will eventually
trigger the OOM.
To use active_memcg() helper, memcg_kmem_bypass() is moved back to
memcontrol.c.
Signed-off-by: Roman Gushchin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Reviewed-by: Shakeel Butt <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Michal Hocko <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions