Revert "ANDROID: make per-cgroup PSI tracking configurable"

This reverts commit bd3983c8a8.

Bug: 178872719
Bug: 191734423
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: Iae7997d518693f09fcc0bf8a3ee5caac6145ada5
This commit is contained in:
Suren Baghdasaryan 2021-06-22 10:35:43 -07:00
parent 951bdfd077
commit 0d054fc5d7
2 changed files with 1 additions and 16 deletions

View File

@ -635,21 +635,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

View File

@ -750,7 +750,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)