kernel_optimize_test/include
Roman Gushchin 4127c6504f 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 <guro@fb.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Shakeel Butt <shakeelb@google.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@kernel.org>
Link: http://lkml.kernel.org/r/20200827225843.1270629-5-guro@fb.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-10-18 09:27:09 -07:00
..
acpi ACPI updates for 5.10-rc1 2020-10-14 11:42:04 -07:00
asm-generic hyperv-next for 5.10, part 2 2020-10-15 15:48:06 -07:00
clocksource
crypto
drm sound updates for 5.10 2020-10-15 11:07:44 -07:00
dt-bindings sound updates for 5.10 2020-10-15 11:07:44 -07:00
keys
kunit kunit: test.h: fix a bad kernel-doc markup 2020-10-15 07:49:48 +02:00
kvm
linux mm: kmem: enable kernel memcg accounting from interrupt contexts 2020-10-18 09:27:09 -07:00
math-emu
media
memory
misc
net docs updates for v5.10-rc1 2020-10-16 15:02:21 -07:00
pcmcia
ras mm,hwpoison: introduce MF_MSG_UNSPLIT_THP 2020-10-16 11:11:17 -07:00
rdma RDMA: Explicitly pass in the dma_device to ib_register_device 2020-10-16 13:53:46 -03:00
scsi SCSI misc on 20201013 2020-10-14 15:15:35 -07:00
soc networking changes for the 5.10 merge window 2020-10-15 18:42:13 -07:00
sound
target
trace RDMA 5.10 pull request 2020-10-17 11:18:18 -07:00
uapi RDMA 5.10 pull request 2020-10-17 11:18:18 -07:00
vdso
video
xen