From 402cb02ae5c5ccbf8aa61f44eb3c09b0761960a0 Mon Sep 17 00:00:00 2001 From: Yihao Wu Date: Thu, 2 Jun 2022 15:07:24 +0800 Subject: [PATCH] config: add two interface functions do_sched_yield - is an important scheduler function. - calls rq_unlock & this_rq_lock_irq. By making it an interface function, - We get to modify it. - rq_unlock instantly becomes an insider. - this_rq_lock_irq will be easier to be turned into an insider with sidecar --- wait_task_inactive - is an important scheduler function. - calls task_rq_unlock. By making it an interface function, - We get to modify it. - rq_unlock instantly becomes an insider. - task_rq_unlock will be easier to be turned into an insider with sidecar. --- Signed-off-by: Yihao Wu --- configs/4.19/sched_boundary.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/4.19/sched_boundary.yaml b/configs/4.19/sched_boundary.yaml index e973c06..9669ef5 100644 --- a/configs/4.19/sched_boundary.yaml +++ b/configs/4.19/sched_boundary.yaml @@ -30,6 +30,8 @@ interface_prefix: - __arm64_compat_sys_ function: interface: + - do_sched_yield + - wait_task_inactive - do_set_cpus_allowed - set_user_nice - sched_setscheduler -- Gitee