From f45e756958099c35d6afb746df1d40a1c6302cfc Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Tue, 07 Nov 2023 06:20:23 +0000 Subject: [PATCH] enable wifi gpio --- kernel/kernel/sched/features.h | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/kernel/kernel/sched/features.h b/kernel/kernel/sched/features.h index bd395af..6c4089d 100644 --- a/kernel/kernel/sched/features.h +++ b/kernel/kernel/sched/features.h @@ -46,11 +46,19 @@ */ SCHED_FEAT(NONTASK_CAPACITY, true) +#ifdef CONFIG_PREEMPT_RT_FULL +SCHED_FEAT(TTWU_QUEUE, false) +# ifdef CONFIG_PREEMPT_LAZY +SCHED_FEAT(PREEMPT_LAZY, true) +# endif +#else + /* * Queue remote wakeups on the target CPU and process them * using the scheduler IPI. Reduces rq->lock contention/bounces. */ SCHED_FEAT(TTWU_QUEUE, true) +#endif /* * When doing wakeups, attempt to limit superfluous scans of the LLC domain. -- Gitblit v1.6.2