android_system_core/libprocessgroup
Siarhei Vishniakou a2bd0e6b5d Set input thread priority to RT - try 3
This partially reverts commit de6707df0c.

Reason for revert: code change landed, now modifying JSON file only

Original description:

To improve input latency, set the critical input threads to RT priority.
This will use RT priority on AOSP devices by default. OEMs can still
choose to customize what "input policy" means for their device, which
may not necessarily mean RT.

For example, on device with multiple small / big cores, input task
affinity could be changed to prioritize big cores + higher CPU frequency
/ voltage, but still keep the standard / default input thread priority.

With this patch, I'm finding that sometimes, one of the critical input
threads has priority 100 instead of the expected 98. Still looking into
that specific issue, but the issue is already present with the existing
"input policy" code.

Bug: 330719044
Flag: com.android.input.flags.enable_input_policy_profile
Test: took perfetto trace and checked the priority on InputDispatcher
and InputReader threads.

Change-Id: I7d8a941f36ad9e4b75a7a0f4c5d81895256d6919
2024-11-06 16:57:37 +00:00
..
cgrouprc Reapply "libprocessgroup: Remove ACgroupController_getMaxActivati..." 2024-10-08 23:42:54 +00:00
cgrouprc_format Reapply "libprocessgroup: Remove cgroup.rc file" 2024-10-08 23:42:49 +00:00
include/processgroup Reapply "libprocessgroup: Remove cgroup.rc file" 2024-10-08 23:42:49 +00:00
profiles Set input thread priority to RT - try 3 2024-11-06 16:57:37 +00:00
setup libprocessgroup: Update libprocessgroup dependencies 2024-11-01 21:16:29 +00:00
tools libprocessgroup/tools: Add settaskprofile command-line tool 2021-11-09 22:35:51 +00:00
util Reapply "libprocessgroup: Combine all 3 ActivateControllers imple..." 2024-10-08 23:42:55 +00:00
Android.bp libprocessgroup: Update libprocessgroup dependencies 2024-11-01 21:16:29 +00:00
build_flags.h Add build flag to split the cgroup v2 hierarchy into apps/system 2024-04-08 21:15:48 +00:00
cgroup_map.cpp Reapply "libprocessgroup: Combine all 3 ActivateControllers imple..." 2024-10-08 23:42:55 +00:00
cgroup_map.h Reapply "libprocessgroup: Combine all 3 ActivateControllers imple..." 2024-10-08 23:42:55 +00:00
internal.h Reapply "libprocessgroup: Remove cgroup.rc file" 2024-10-08 23:42:49 +00:00
OWNERS Remove carlosgalo from libprocessgroup OWNERS 2024-10-21 17:10:34 +00:00
processgroup.cpp Don't use android::base::StartsWith / EndsWith 2024-10-25 17:20:01 +00:00
sched_policy.cpp libprocessgroup: Remove schedtune support 2024-10-02 14:47:45 +00:00
task_profiles.cpp Merge "Set input thread priority to RT - try 2" into main 2024-10-31 23:51:47 +00:00
task_profiles.h Merge "libprocessgroup: Remove SetClamps action" into main 2024-10-15 22:56:36 +00:00
task_profiles_test.cpp libprocessgroup: Rename CgroupController -> CgroupControllerWrapper 2024-08-09 18:35:29 +00:00
TEST_MAPPING Revert^2 "Move StagedRollbackTest from postsubmit to presubmit" 2024-06-27 01:59:14 +00:00