ANDROID: Export sysctl_sched_wakeup_granularity to enable modifying it

The value is only available in debugfs. Export it to allow out of tree
modules to modify it.

Bug: 337139487
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: I4b3a5aeeee0539b88756aacc97df6181f68d9d0d
This commit is contained in:
Qais Yousef 2024-05-13 18:32:23 +00:00 committed by Treehugger Robot
parent 039d2a958c
commit 0d080e01a2

View File

@ -129,6 +129,7 @@ unsigned int sysctl_sched_child_runs_first __read_mostly;
* (default: 1 msec * (1 + ilog(ncpus)), units: nanoseconds)
*/
unsigned int sysctl_sched_wakeup_granularity = 1000000UL;
EXPORT_SYMBOL_GPL(sysctl_sched_wakeup_granularity);
static unsigned int normalized_sysctl_sched_wakeup_granularity = 1000000UL;
const_debug unsigned int sysctl_sched_migration_cost = 500000UL;