Revert "ANDROID: make per-cgroup PSI tracking configurable"
This reverts commit bd3983c8a85b5e69e0e7596449824d8b419af746. Bug: 178872719 Bug: 191734423 Signed-off-by: Suren Baghdasaryan <surenb@google.com> Change-Id: Iae7997d518693f09fcc0bf8a3ee5caac6145ada5
This commit is contained in:
parent
a367e77c14
commit
91d9e57009
15
init/Kconfig
15
init/Kconfig
@ -644,21 +644,6 @@ config PSI_DEFAULT_DISABLED
|
||||
|
||||
Say N if unsure.
|
||||
|
||||
config PSI_PER_CGROUP_ACCT
|
||||
bool "Enable per-cgroup pressure stall information tracking"
|
||||
default n
|
||||
depends on PSI
|
||||
depends on CGROUPS
|
||||
help
|
||||
If set, pressure stall information will be tracked for each
|
||||
individual cgroup. Otherwise, pressure stall information will
|
||||
be tracked only at the system level under /proc/pressure/.
|
||||
|
||||
This feature generates overhead that depends on the number of
|
||||
cgroups in the cgroup v2 hierarchy.
|
||||
|
||||
Say N if unsure.
|
||||
|
||||
endmenu # "CPU/Task time and stats accounting"
|
||||
|
||||
config CPU_ISOLATION
|
||||
|
@ -744,7 +744,7 @@ static void psi_group_change(struct psi_group *group, int cpu,
|
||||
|
||||
static struct psi_group *iterate_groups(struct task_struct *task, void **iter)
|
||||
{
|
||||
#if defined CONFIG_CGROUPS && defined CONFIG_PSI_PER_CGROUP_ACCT
|
||||
#ifdef CONFIG_CGROUPS
|
||||
struct cgroup *cgroup = NULL;
|
||||
|
||||
if (!*iter)
|
||||
|
Loading…
Reference in New Issue
Block a user