ANDROID: sched: Default sched_proxy_exec to false

For now, lets default proxy-execution to off
so we can slowly evaluate its performance.

Change-Id: If21c9f315b5130d9e2dbcab2cc14a82a2ead9cd1
Signed-off-by: John Stultz <jstultz@google.com>
Bug: 306081722
This commit is contained in:
John Stultz
2024-09-27 17:20:49 -07:00
parent 84f4417638
commit 2b89102b99
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1635,7 +1635,7 @@ struct task_struct {
};
#ifdef CONFIG_SCHED_PROXY_EXEC
DECLARE_STATIC_KEY_TRUE(__sched_proxy_exec);
DECLARE_STATIC_KEY_FALSE(__sched_proxy_exec);
static inline bool sched_proxy_exec(void)
{
return static_branch_likely(&__sched_proxy_exec);
+1 -1
View File
@@ -127,7 +127,7 @@ DEFINE_PER_CPU_SHARED_ALIGNED(struct rq, runqueues);
EXPORT_SYMBOL_GPL(runqueues);
#ifdef CONFIG_SCHED_PROXY_EXEC
DEFINE_STATIC_KEY_TRUE(__sched_proxy_exec);
DEFINE_STATIC_KEY_FALSE(__sched_proxy_exec);
static int __init setup_proxy_exec(char *str)
{
bool proxy_enable;