diff options
author | Jorge Lucangeli Obes <jorgelo@google.com> | 2015-11-13 14:48:15 -0800 |
---|---|---|
committer | Jorge Lucangeli Obes <jorgelo@google.com> | 2015-11-16 10:41:24 -0800 |
commit | 33a51e94406a3c2f746aa05374a2f0836eadd17c (patch) | |
tree | 54e6ba22ec4948f64bb71292006f2c4bea0b6d74 | |
parent | 66e1ab0b6bed72ae044fafa4ff65d30be83593a2 (diff) | |
download | brillo-33a51e94406a3c2f746aa05374a2f0836eadd17c.tar.gz |
Add scheduler/cgroup-related options that 'init' expects.
The 'init' SELinux context is allowed to write to these files but not
create them, so this was causing spurious SELinux errors.
Bug: 25560286
Change-Id: I31d80a568261c9757cfd1a64bc2b10d43e9e6d22
-rw-r--r-- | kconfig/4.1/common.config | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/kconfig/4.1/common.config b/kconfig/4.1/common.config index 8098468..1dd25da 100644 --- a/kconfig/4.1/common.config +++ b/kconfig/4.1/common.config @@ -16,3 +16,20 @@ # Use -fstack-protector-strong for best stack canary coverage. CONFIG_CC_STACKPROTECTOR_STRONG=y + +# For sched_tunable_scaling. +CONFIG_SMP=y +# For sched_latency_ns, sched_wakeup_granularity_ns. +CONFIG_SCHED_DEBUG=y + +# For /dev/cpuctl. +CONFIG_CGROUPS=y +CONFIG_CGROUP_DEBUG=y +CONFIG_CGROUP_FREEZER=y +CONFIG_CGROUP_CPUACCT=y +CONFIG_CGROUP_SCHED=y + +# For /dev/cpuctl/cpu.shares. +CONFIG_FAIR_GROUP_SCHED=y +# For /dev/cpuctl/cpu.rt_period_us. +CONFIG_RT_GROUP_SCHED=y |