From: Changwoo Min Date: Sat, 9 Nov 2024 02:25:14 +0000 (+0900) Subject: sched_ext: Clarify sched_ext_ops table for userland scheduler X-Git-Tag: v6.13-rc1~164^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=153591f7036be19ddcdb102c34b9f3e876a236c7;p=thirdparty%2Fkernel%2Flinux.git sched_ext: Clarify sched_ext_ops table for userland scheduler Update the comments in sched_ext_ops to clarify this table is for a BPF scheduler and a userland scheduler should also rely on the sched_ext_ops table through the BPF scheduler. Signed-off-by: Changwoo Min Signed-off-by: Tejun Heo --- diff --git a/kernel/sched/ext.c b/kernel/sched/ext.c index 02f39314ef8ae..f1a185ab5fbc7 100644 --- a/kernel/sched/ext.c +++ b/kernel/sched/ext.c @@ -199,8 +199,10 @@ struct scx_dump_ctx { /** * struct sched_ext_ops - Operation table for BPF scheduler implementation * - * Userland can implement an arbitrary scheduling policy by implementing and - * loading operations in this table. + * A BPF scheduler can implement an arbitrary scheduling policy by + * implementing and loading operations in this table. Note that a userland + * scheduling policy can also be implemented using the BPF scheduler + * as a shim layer. */ struct sched_ext_ops { /**