No description
Find a file
Bart Van Assche 9c0fcbb0f7 libprocessgroup: Add I/O scheduler attributes to task_profiles.json
The differences between the v1 and v2 hierarchies are as follows:
* Different mountpoints. In Android the blkio v1 hierarchy has
  /dev/blkio as top directory while the v2 hierarchy has /sys/fs/cgroup
  as top directory.
* Different directory structure. In Android there are two directories in
  the v1 blkio hierarchy (. and background) while in the v2 hierarchy
  there is one subdirectory per process and per task.
* Different controller names. The name of the blkio controller in the v1
  hierarchy is "blkio" while it is "io" in the v2 hierarchy.
* In the v1 hierarchy the NormalIoPriority policy is applied at process
  creation time but that policy is not applied at process creation time
  if the blkio controller exists in the v2 hierarchy.

Prepare for migration of the blkio controller to the v2 hierarchy by
adding the blkio v2 attributes in task_profiles.json. All these
attributes have been marked as optional because:
* The "io" controller does not exist in the v1 hierarchy.
* Which attributes can be applied depends on the I/O scheduler that has
  been selected (CFQ, BFQ, ...).

This patch causes the following warnings to appear in the logs of
devices that mount the blkio controller in the v1 hierarchy:
 W libprocessgroup: Controller io is not found
 W libprocessgroup: Controller io is not found
 W libprocessgroup: Controller io is not found
 W libprocessgroup: SetAttribute: unknown attribute: CfqGroupIdle
 W libprocessgroup: SetAttribute: unknown attribute: CfqWeight
 W libprocessgroup: SetAttribute: unknown attribute: BfqWeight

This patch restores a subset of aosp/1962326 and prepares for the
migration of the blkcg controller to the cgroup v2 hierarchy.

Bug: 213617178
Change-Id: Ia7b117bc777239b416e2ac268308e634b018144d
Signed-off-by: Bart Van Assche <bvanassche@google.com>
2022-08-25 14:01:01 -07:00
bootstat Merge "boot_reason: Add reasons for boot_reason_test.sh" 2022-07-14 22:45:18 +00:00
cli-test
code_coverage
debuggerd Use liblog_for_runtime_apex instead of liblog 2022-08-19 13:21:02 +09:00
diagnose_usb Support building diagnose_usb against musl 2021-12-16 14:04:06 -08:00
fastboot Add io_uring support to fastboot 2022-08-11 18:58:43 -07:00
fs_mgr adb-remount-test: Simplify disable-verity setup 2022-08-22 02:46:28 +08:00
gatekeeperd Depend on KeyMint HAL via default 2021-12-02 08:16:25 +00:00
healthd charger: Fix charger pixel format useless 2022-05-26 09:43:51 +08:00
include
init init: Apply the NormalIoProfile when creating a service 2022-08-25 14:01:01 -07:00
janitors
libappfuse
libasyncio Set min_sdk_version 2021-12-02 09:23:42 +09:00
libbinderwrapper
libcrypto_utils Set min_sdk_version 2021-12-02 09:23:42 +09:00
libcutils Promote HWASan tests to presubmit. 2022-06-17 22:41:33 +00:00
libdiskconfig Tweak linux_glibc properties for musl builds in system/core 2022-03-24 15:59:08 -07:00
libgrallocusage Make apex_available explicit 2022-02-09 11:37:19 -08:00
libkeyutils Make libfs_mgr dependencies vendor_ramdisk_available. 2021-07-23 16:50:06 -07:00
libmodprobe libmodprobe: check blockedlist if load failed 2022-08-06 04:48:55 +00:00
libnetutils Rewrite function declarators without prototypes 2022-06-22 16:59:22 +08:00
libpackagelistparser Promote HWASan tests to presubmit. 2022-06-17 22:18:49 +00:00
libprocessgroup libprocessgroup: Add I/O scheduler attributes to task_profiles.json 2022-08-25 14:01:01 -07:00
libsparse libsparse: Don't spam errors in sparse_file_import_auto. 2022-06-01 18:36:04 -07:00
libstats Promote HWASan tests to presubmit. 2022-08-10 19:50:31 +00:00
libsuspend libsuspend: vendor_available. 2021-11-02 13:52:40 -07:00
libsync Replace #apex with #systemapi 2022-07-17 17:43:24 +09:00
libsystem Relax requirements on android_ycbcr to allow P010 2022-02-17 10:54:15 -08:00
libsysutils Fix 32-bit userspace on 64-bit kernel quota2 compatibility. 2021-10-25 16:24:49 -07:00
libusbhost libusbhost: factor out frameworks descriptors -> byte[] code. 2022-01-24 13:35:20 -08:00
libutils Merge "RefBase: test for stack check" am: 5daa3bb90e 2022-07-29 18:31:32 +00:00
libvndksupport Replace #apex with #systemapi 2022-07-17 17:43:24 +09:00
llkd llkd: Disable in userdebug builds by default 2021-11-04 16:21:46 -07:00
mini_keyctl Merge "Make libmini_keyctl_static available in recovery" 2021-11-23 17:54:31 +00:00
mkbootfs Make 'mkbootfs' print a usage message for insufficent args. 2022-07-12 16:00:07 -07:00
property_service Promote HWASan tests to presubmit. 2022-05-06 19:08:21 +00:00
reboot
rootdir Prepare /data/property before load_persist_props 2022-08-18 10:03:02 +09:00
run-as
sdcard
set-verity-state set-verity-state: Add -h -v -R (automatic reboot) options 2022-08-17 06:13:20 +00:00
shell_and_utilities Update shell_and_utilities docs for T. 2022-03-05 08:12:29 -08:00
storaged storaged: Avoid divide-by-zero in performance measurement 2022-05-18 17:05:54 +09:00
toolbox toolbox/generate-input.h-labels.py: python3. 2021-08-17 14:34:55 -07:00
trusty trusty: Increase size of ACVP shared memory 2022-08-22 19:43:54 -07:00
usbd usbd - remove unused libcutils dep 2021-06-28 23:56:29 +00:00
watchdogd
.clang-format
.clang-format-2
.clang-format-4
.gitignore
CleanSpec.mk
METADATA
MODULE_LICENSE_APACHE2
OWNERS
PREUPLOAD.cfg Configure rustfmt for preupload hook 2022-04-06 21:11:09 +00:00
rustfmt.toml Configure rustfmt for preupload hook 2022-04-06 21:11:09 +00:00