linux/include
Suren Baghdasaryan 5d26d5b063 FROMGIT: cgroup: make per-cgroup pressure stall tracking configurable
PSI accounts stalls for each cgroup separately and aggregates it at each
level of the hierarchy. This causes additional overhead with psi_avgs_work
being called for each cgroup in the hierarchy. psi_avgs_work has been
highly optimized, however on systems with large number of cgroups the
overhead becomes noticeable.
Systems which use PSI only at the system level could avoid this overhead
if PSI can be configured to skip per-cgroup stall accounting.
Add "cgroup_disable=pressure" kernel command-line option to allow
requesting system-wide only pressure stall accounting. When set, it
keeps system-wide accounting under /proc/pressure/ but skips accounting
for individual cgroups and does not expose PSI nodes in cgroup hierarchy.

Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
Link:  https://lore.kernel.org/patchwork/patch/1435705
(cherry picked from commit 3958e2d0c3
 https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git tj)

Bug: 178872719
Bug: 191734423
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: Ifc8fbc52f9a1131d7c2668edbb44c525c76c3360
2021-06-23 18:47:45 +00:00
..
acpi
asm-generic vmlinux.lds.h: Avoid orphan section with !SMP 2021-06-02 12:43:55 -07:00
clocksource
crypto
drm Revert "FROMLIST: drm/prime: add support for virtio exported objects" 2021-05-27 13:04:53 +01:00
dt-bindings dt-bindings: connector: Add PD rev 2.0 VDO definition 2021-06-04 11:43:01 +02:00
keys
kunit
kvm
linux FROMGIT: cgroup: make per-cgroup pressure stall tracking configurable 2021-06-23 18:47:45 +00:00
math-emu
media Merge 16b3d0cf5b Merge tag 'sched-core-2021-04-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip into android-mainline 2021-05-10 10:28:52 +01:00
memory
misc
net Merge tag 'v5.13-rc7' into android-mainline 2021-06-21 15:14:49 +02:00
pcmcia
ras
rdma
scsi
soc
sound Linux 5.13-rc4 2021-06-01 09:10:12 +02:00
target
trace ANDROID: iommu: Add vendor hook for setting up DMA ops for IOMMU clients 2021-06-03 13:46:10 -07:00
uapi Merge tag 'v5.13-rc7' into android-mainline 2021-06-21 15:14:49 +02:00
vdso
video
xen xen/arm: move xen_swiotlb_detect to arm/swiotlb-xen.h 2021-05-14 15:52:05 +02:00
OWNERS ANDROID: Improve OWNERS file definitions 2021-05-21 14:25:12 +00:00