platform_system_core/rootdir
Bart Van Assche eef0f563fd [DO NOT MERGE] Migrate the blkio controller to the v2 cgroup hierarchy
There are multiple use cases in Android for which background writes need
to be controlled via the cgroup mechanism. The cgroup mechanism can only
control background writes if both the blkio and memcg controllers are
mounted in the v2 cgroup hierarchy. Hence this patch that migrates the
blkio controller from the v1 to the v2 cgroup hierarchy.

The blkio controller has been marked as optional since not all Android
kernels enable this controller (CONFIG_BLK_CGROUP).

This patch increases the TOTAL_BOOT_TIME for devices with a 4.19 kernel
(redfin) from 18.9 s to 20 s. This patch does not affect the boot time
for devices with a 5.10 or 5.15 kernel.

This patch increases the time spent in CgroupMap::ActivateControllers()
by 25 microseconds in Cuttlefish on an x86-64 CPU.
CgroupMap::ActivateControllers() is called by Service::Start().

Bug: 213617178
Test: Cuttlefish and various phones
Change-Id: I3c07c1be84c3feb277b7d7003652d5d3b57c6541
Signed-off-by: Bart Van Assche <bvanassche@google.com>
2023-03-22 11:39:53 -07:00
..
avb Remove unused rootdir/avb/*-gsi.avbpubkey modules 2022-01-10 14:25:42 +00:00
etc Remove LLNDK libraries from system required 2022-12-01 11:36:45 +09:00
adb_debug.prop Adding adb_debug.prop into debug ramdisk 2019-04-23 11:13:46 +08:00
Android.bp Completely migrate init first stage to Soong 2021-06-18 14:26:55 +09:00
Android.mk [LSC] Add LOCAL_LICENSE_KINDS to system/core 2023-02-09 11:29:51 -08:00
asan.options
asan_extract.rc
asan_extract.sh
init-debug.rc Prevent debugfs unmount on debug builds with a persist property 2021-04-16 13:59:15 -07:00
init.environ.rc.in Export *CLASSPATH variables after apexes are configured. 2021-02-19 17:12:26 +00:00
init.no_zygote.rc Reland "Add a core configuration that disables the zygote." 2022-02-15 16:03:35 -08:00
init.rc [DO NOT MERGE] Migrate the blkio controller to the v2 cgroup hierarchy 2023-03-22 11:39:53 -07:00
init.usb.configfs.rc Remove sys.usb.ffs.mtp.ready property 2018-03-22 11:35:20 -07:00
init.usb.rc Copy vendor.sys.usb.adb.enabled to sys.usb.adb.enabled. 2021-03-22 16:36:17 -07:00
init.zygote32.rc init: Take wakelock on zygote restart 2022-12-14 11:25:01 -08:00
init.zygote64.rc init: Take wakelock on zygote restart 2022-12-14 11:25:01 -08:00
init.zygote64_32.rc Resync zygote64 and zygote64_32 rc files. 2022-09-29 17:21:54 -07:00
OWNERS Add new owners to various sub-projects. 2020-12-11 12:45:45 -08:00
ramdisk_node_list Add ramdisk_node_list 2023-01-24 18:36:43 +00:00
ueventd.rc Make /dev/{kvm,vhost-vsock} accessible to all UIDs 2022-12-20 08:20:26 +00:00