docs: fix documentation about default scheduler
authorRoger Pau Monne <roger.pau@citrix.com>
Tue, 17 Nov 2020 09:32:58 +0000 (10:32 +0100)
committerWei Liu <wl@xen.org>
Mon, 7 Dec 2020 15:44:52 +0000 (15:44 +0000)
Fix the command line document to account for the default scheduler in
Kconfig being credit2 now, and the fact that it's selectable at build
time and thus different builds could end up with different default
schedulers.

Fixes: dafd936dddbd ('Make credit2 the default scheduler')
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Wei Liu <wl@xen.org>
docs/misc/xen-command-line.pandoc

index f7db2b64aaa9ab7f1760091dc70b77333516f663..1cb1aee5ed186c6ef410114698340e2cada20707 100644 (file)
@@ -1886,9 +1886,11 @@ with read and write permissions.
 ### sched
 > `= credit | credit2 | arinc653 | rtds | null`
 
-> Default: `sched=credit`
+> Default: `sched=credit2`
 
-Choose the default scheduler.
+Choose the default scheduler. Note the default scheduler is selectable via
+Kconfig and depends on enabled schedulers. Check
+`CONFIG_SCHED_DEFAULT` to see which scheduler is the default.
 
 ### sched_credit2_max_cpus_runqueue
 > `= <integer>`