Skip to contentSkip to conversation

docs: fix documentation to notice credit2 is the default

PATCH In review Roger Pau Monne 4 participants 6 messages Nov 10, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: fix documentation to notice credit2 is the default

Fix the command line document to account for credit2 now being the default scheduler.

Fixes dafd936dddbd ('Make credit2 the default scheduler')
---
 docs/misc/xen-command-line.pandoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
docs/misc/xen-command-line.pandoc +1 -1
index 4ae9391fcd..789aead148 100644
@@ -1876,7 +1876,7 @@ with read and write permissions.
 ### sched
 > `= credit | credit2 | arinc653 | rtds | null`
 
-> Default: `sched=credit`
+> Default: `sched=credit2`
 
 Choose the default scheduler.
 
Signature · 1 line
2.29.0
#1 lore raw
Quoted 15 lines · Roger Pau Monne

Fix the command line document to account for credit2 now being the default scheduler.

Fixes dafd936dddbd ('Make credit2 the default scheduler')
---
  docs/misc/xen-command-line.pandoc | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
docs/misc/xen-command-line.pandoc +0 -0
index 4ae9391fcd..789aead148 100644

docs/misc/xen-command-line.pandoc with read and write permissions. · line 1882

Quoted 8 lines
docs/misc/xen-command-line.pandoc +1 -1
@@ -1876,7 +1876,7 @@ with read and write permissions.
  ### sched
  > `= credit | credit2 | arinc653 | rtds | null`
 
-> Default: `sched=credit`
+> Default: `sched=credit2`
 
  Choose the default scheduler.
 

Tried that before:

https://lists.xen.org/archives/html/xen-devel/2019-01/msg01097.html

And Andrew didn't like it...

Juergen

#2 lore raw
Quoted 24 lines · Jürgen Groß
Quoted 14 lines · Roger Pau Monne

Fix the command line document to account for credit2 now being the default scheduler.

Fixes dafd936dddbd ('Make credit2 the default scheduler')
---
  docs/misc/xen-command-line.pandoc | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
docs/misc/xen-command-line.pandoc +0 -0
index 4ae9391fcd..789aead148 100644

docs/misc/xen-command-line.pandoc with read and write permissions. · line 1880

Quoted 6 lines
docs/misc/xen-command-line.pandoc +1 -1
@@ -1876,7 +1876,7 @@ with read and write permissions.
  ### sched
  > `= credit | credit2 | arinc653 | rtds | null`
-> Default: `sched=credit`
+> Default: `sched=credit2`
  Choose the default scheduler.
 

Tried that before:

Quoted 3 lines

https://lists.xen.org/archives/html/xen-devel/2019-01/msg01097.html

And Andrew didn't like it...

One way or another we need to get this fixed in the document. Listing credit as the still the default is wrong.

I think there are several places in xen-command-line.pandoc that just contain the default values set in Kconfig, so IMO if we want to change this it should be done wholesale rather than picking on every default value change. Opinions?

Thanks, Roger.

#3 lore raw
Quoted 24 lines · Roger Pau Monné
Quoted 23 lines · Jürgen Groß
Quoted 14 lines · Roger Pau Monne

Fix the command line document to account for credit2 now being the default scheduler.

Fixes dafd936dddbd ('Make credit2 the default scheduler')
---
  docs/misc/xen-command-line.pandoc | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
docs/misc/xen-command-line.pandoc +0 -0
index 4ae9391fcd..789aead148 100644

docs/misc/xen-command-line.pandoc with read and write permissions. · line 1880

Quoted 6 lines
docs/misc/xen-command-line.pandoc +1 -1
@@ -1876,7 +1876,7 @@ with read and write permissions.
  ### sched
  > `= credit | credit2 | arinc653 | rtds | null`
-> Default: `sched=credit`
+> Default: `sched=credit2`
  Choose the default scheduler.
 

Tried that before:

Quoted 5 lines
Quoted 3 lines

https://lists.xen.org/archives/html/xen-devel/2019-01/msg01097.html

And Andrew didn't like it...

One way or another we need to get this fixed in the document. Listing credit as the still the default is wrong.

I agree that what is there is wrong, but so is saying credit2.

This documentation is for users, because develops know exactly how they configured their schedulers, and won't actually need to refer to it.

As a consequence, it depends heavily on what a specific distro/downstream chose, config-wise.

Quoted 4 lines

I think there are several places in xen-command-line.pandoc that just contain the default values set in Kconfig, so IMO if we want to change this it should be done wholesale rather than picking on every default value change. Opinions?

xen-command-line.pandoc wholly predates Kconfig.  We're only in this mess because previous patches haven't been appropriately reviewed.

Lets fix it up to be correct, but lets not delay fixing this to look for potential other cases.

~Andrew

#4 lore raw
Quoted 44 lines · Andrew Cooper
Quoted 24 lines · Roger Pau Monné
Quoted 23 lines · Jürgen Groß
Quoted 14 lines · Roger Pau Monne

Fix the command line document to account for credit2 now being the default scheduler.

Fixes dafd936dddbd ('Make credit2 the default scheduler')
---
   docs/misc/xen-command-line.pandoc | 2 +-
   1 file changed, 1 insertion(+), 1 deletion(-)
docs/misc/xen-command-line.pandoc +0 -0
index 4ae9391fcd..789aead148 100644

docs/misc/xen-command-line.pandoc with read and write permissions. · line 1880

Quoted 6 lines
docs/misc/xen-command-line.pandoc +1 -1
@@ -1876,7 +1876,7 @@ with read and write permissions.
   ### sched
   > `= credit | credit2 | arinc653 | rtds | null`
-> Default: `sched=credit`
+> Default: `sched=credit2`
   Choose the default scheduler.
 

Tried that before:

Quoted 5 lines
Quoted 3 lines

https://lists.xen.org/archives/html/xen-devel/2019-01/msg01097.html

And Andrew didn't like it...

One way or another we need to get this fixed in the document. Listing credit as the still the default is wrong.

I agree that what is there is wrong, but so is saying credit2.

This documentation is for users, because develops know exactly how they configured their schedulers, and won't actually need to refer to it.

As a consequence, it depends heavily on what a specific distro/downstream chose, config-wise.

Quoted 4 lines

I think there are several places in xen-command-line.pandoc that just contain the default values set in Kconfig, so IMO if we want to change this it should be done wholesale rather than picking on every default value change. Opinions?

Quoted 5 lines

xen-command-line.pandoc wholly predates Kconfig.  We're only in this mess because previous patches haven't been appropriately reviewed.

Lets fix it up to be correct, but lets not delay fixing this to look for potential other cases.

The ultimate fix would be to generate this document according to Kconfig settings. :-D

Juergen

#5 lore raw
Quoted 45 lines · Jürgen Groß
Quoted 44 lines · Andrew Cooper
Quoted 24 lines · Roger Pau Monné
Quoted 23 lines · Jürgen Groß
Quoted 14 lines · Roger Pau Monne

Fix the command line document to account for credit2 now being the default scheduler.

Fixes dafd936dddbd ('Make credit2 the default scheduler')
---
   docs/misc/xen-command-line.pandoc | 2 +-
   1 file changed, 1 insertion(+), 1 deletion(-)
docs/misc/xen-command-line.pandoc +0 -0
index 4ae9391fcd..789aead148 100644

docs/misc/xen-command-line.pandoc with read and write permissions. · line 1880

Quoted 6 lines
docs/misc/xen-command-line.pandoc +1 -1
@@ -1876,7 +1876,7 @@ with read and write permissions.
   ### sched
   > `= credit | credit2 | arinc653 | rtds | null`
-> Default: `sched=credit`
+> Default: `sched=credit2`
   Choose the default scheduler.
 

Tried that before:

Quoted 5 lines
Quoted 3 lines

https://lists.xen.org/archives/html/xen-devel/2019-01/msg01097.html

And Andrew didn't like it...

One way or another we need to get this fixed in the document. Listing credit as the still the default is wrong.

I agree that what is there is wrong, but so is saying credit2.

This documentation is for users, because develops know exactly how they configured their schedulers, and won't actually need to refer to it.

As a consequence, it depends heavily on what a specific distro/downstream chose, config-wise.

Quoted 4 lines

I think there are several places in xen-command-line.pandoc that just contain the default values set in Kconfig, so IMO if we want to change this it should be done wholesale rather than picking on every default value change. Opinions?

Quoted 8 lines
Quoted 5 lines

xen-command-line.pandoc wholly predates Kconfig.  We're only in this mess because previous patches haven't been appropriately reviewed.

Lets fix it up to be correct, but lets not delay fixing this to look for potential other cases.

The ultimate fix would be to generate this document according to Kconfig settings. :-D

Except that's not suitable for putting up as a web page for everyone to use as "cannoical" reference. Every distro could do so, sure.

Jan