Skip to content

Commit

Permalink
Merge pull request raspberrypi#16 from shun159/fix-code-comment
Browse files Browse the repository at this point in the history
sched_ext: Fix code comment as scx_bpf_switch_all doesn't require 'into_scx'
  • Loading branch information
Byte-Lab committed Jun 6, 2023
2 parents a1ad178 + aa6d3d3 commit d075c67
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions kernel/sched/ext.c
Expand Up @@ -3702,11 +3702,10 @@ __diag_ignore_all("-Wmissing-prototypes",

/**
* scx_bpf_switch_all - Switch all tasks into SCX
* @into_scx: switch direction
*
* If @into_scx is %true, all existing and future non-dl/rt tasks are switched
* to SCX. If %false, only tasks which have %SCHED_EXT explicitly set are put on
* SCX. The actual switching is asynchronous. Can be called from ops.init().
* Switch all existing and future non-dl/rt tasks to SCX.
* This can only be called from ops.init(), and actual switching
* is performed asynchronously.
*/
void scx_bpf_switch_all(void)
{
Expand Down

0 comments on commit d075c67

Please sign in to comment.