Skip to contentSkip to conversation

docs: correct descriptions of gnttab_max_{, maptrack}_frames

PATCH In review Ian Campbell 3 participants 8 messages Jan 19, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: correct descriptions of gnttab_max_{, maptrack}_frames

gnttab_max_frames incorrectly referred to numbers of grant tab operations and gnttab_max_maptrack_frames was confusingly worded.

Add the default for gnttab_max_frames while here (it's currently the same on all arches since no arch uses the available arch override) and adjust the default for gnttab_max_maptrack_frames to match the normal form.

---
v2: Use more prevalent form for specifying defaults.

---
 docs/misc/xen-command-line.markdown | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
docs/misc/xen-command-line.markdown +8 -3
index 5ed0730..d267a04 100644
@@ -740,13 +740,18 @@ Specify which console gdbstub should use. See **console**.
 ### gnttab\_max\_frames
 > `= <integer>`
 
-Specify the maximum number of frames per grant table operation.
+> Default: `32`
+
+Specify the maximum number of frames which any domain may use as part
+of its grant table.
 
 ### gnttab\_max\_maptrack\_frames
 > `= <integer>`
 
-Specify the maximum number of maptrack frames domain.
-The default value is 8 times **gnttab\_max\_frames**.
+> Default: `8 * gnttab_max_frames`
+
+Specify the maximum number of frames to use as part of a domains
+maptrack array.
 
 ### gnttab\_max\_nr\_frames
 > `= <integer>`
Signature · 1 line
2.1.4
#1 lore raw

On Tue, 2016-01-19 at 11:56 +0000, Ian Campbell wrote:

Should have been tagged, v2, sorry.

Quoted 40 lines

gnttab_max_frames incorrectly referred to numbers of grant tab operations and gnttab_max_maptrack_frames was confusingly worded.

Add the default for gnttab_max_frames while here (it's currently the same on all arches since no arch uses the available arch override) and adjust the default for gnttab_max_maptrack_frames to match the normal form.

---
v2: Use more prevalent form for specifying defaults.
---
 docs/misc/xen-command-line.markdown | 11 ++++++++---

 1 file changed, 8 insertions(+), 3 deletions(-)
docs/misc/xen-command- renamed from docs/misc/xen-command-line.markdown +0 -0

line.markdown
index 5ed0730..d267a04 100644

docs/misc/xen-command-line.markdown +0 -0
@@ -740,13 +740,18 @@ Specify which console gdbstub should use. See
 **console**.
  ### gnttab\_max\_frames

 > = <integer>

docs/misc/xen-command-line.markdown +4 -1
-Specify the maximum number of frames per grant table operation.
+> Default: `32`
+
+Specify the maximum number of frames which any domain may use as part
+of its grant table.


 ### gnttab\_max\_maptrack\_frames
 > = <integer>

docs/misc/xen-command-line.markdown +4 -2
-Specify the maximum number of maptrack frames domain.
-The default value is 8 times **gnttab\_max\_frames**.
+> Default: `8 * gnttab_max_frames`
+
+Specify the maximum number of frames to use as part of a domains
+maptrack array.
Quoted 3 lines


 ### gnttab\_max\_nr\_frames
 > = <integer>

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

Acked-by on v1 1/1
#2 lore raw
In reply to Ian Campbell

docs/misc/xen-command-line.markdown Specify which console gdbstub should use. See **console**. · line 751

Quoted 4 lines
Quoted 1 line
Quoted 1 line · On 19.01.16 at 12:56, <[email protected]> wrote:
docs/misc/xen-command-line.markdown +1 -2
-Specify the maximum number of maptrack frames domain.
-The default value is 8 times **gnttab\_max\_frames**.
+> Default: `8 * gnttab_max_frames`

No backslash escaping needed here?

In any case,

#3 lore raw
Quoted 6 lines · Jan Beulich

docs/misc/xen-command-line.markdown Specify which console gdbstub should use. See **console**. · line 751

Quoted 4 lines
Quoted 1 line
Quoted 1 line · On 19.01.16 at 12:56, <[email protected]> wrote:
docs/misc/xen-command-line.markdown +1 -2
-Specify the maximum number of maptrack frames domain.
-The default value is 8 times **gnttab\_max\_frames**.
+> Default: `8 * gnttab_max_frames`

No backslash escaping needed here?

No, not sure if the is ">" or the `` escaping them but the backslashes appeared in the output HTML when I tried it.

Quoted 3 lines

In any case,

Thanks.

Ian.

#4 lore raw
Quoted 11 lines · Ian Campbell
Quoted 5 lines · Jan Beulich

docs/misc/xen-command-line.markdown Specify which console gdbstub should use. See **console**. · line 751

Quoted 4 lines
Quoted 1 line
Quoted 1 line · On 19.01.16 at 12:56, <[email protected]> wrote:
docs/misc/xen-command-line.markdown +1 -2
-Specify the maximum number of maptrack frames domain.
-The default value is 8 times **gnttab\_max\_frames**.
+> Default: `8 * gnttab_max_frames`

No backslash escaping needed here?

No, not sure if the is ">" or the `` escaping them but the backslashes appeared in the output HTML when I tried it.

Quoted 2 lines

In any case,

Thanks.

Markdown is occasionally very lax, and occasionally very picky about its backslashes.

I tend to insert them for piece of mind.

Either way, Reviewed-by: Andrew Cooper <[email protected]>

#5 lore raw
Quoted 9 lines · Andrew Cooper
Quoted 8 lines · Ian Campbell
Quoted 5 lines · Jan Beulich

docs/misc/xen-command-line.markdown Specify which console gdbstub should use. See **console**. · line 751

Quoted 4 lines
Quoted 1 line
Quoted 1 line · On 19.01.16 at 12:56, <[email protected]> wrote:
docs/misc/xen-command-line.markdown +1 -2
-Specify the maximum number of maptrack frames domain.
-The default value is 8 times **gnttab\_max\_frames**.
+> Default: `8 * gnttab_max_frames`

No backslash escaping needed here?

No, not sure if the is ">" or the `` escaping them but the backslashes appeared in the output HTML when I tried it.

Quoted 8 lines
Quoted 3 lines
Quoted 2 lines

In any case,

Thanks.

Markdown is occasionally very lax, and occasionally very picky about its backslashes.

I tend to insert them for piece of mind.

In this case they ended up in the output, which is wrong.

Quoted 2 lines

Either way, Reviewed-by: Andrew Cooper <[email protected]>

#6 lore raw
Quoted 10 lines · Ian Campbell
Quoted 9 lines · Andrew Cooper
Quoted 8 lines · Ian Campbell
Quoted 5 lines · Jan Beulich

docs/misc/xen-command-line.markdown Specify which console gdbstub should use. See **console**. · line 751

Quoted 4 lines
Quoted 1 line
Quoted 1 line · On 19.01.16 at 12:56, <[email protected]> wrote:
docs/misc/xen-command-line.markdown +1 -2
-Specify the maximum number of maptrack frames domain.
-The default value is 8 times **gnttab\_max\_frames**.
+> Default: `8 * gnttab_max_frames`

No backslash escaping needed here?

No, not sure if the is ">" or the `` escaping them but the backslashes appeared in the output HTML when I tried it.

Quoted 8 lines
Quoted 7 lines
Quoted 3 lines
Quoted 2 lines

In any case,

Thanks.

Markdown is occasionally very lax, and occasionally very picky about its backslashes.

I tend to insert them for piece of mind.

In this case they ended up in the output, which is wrong.

Oh right yes. `` is verbatim text.

author Applied
#7 lore raw
In reply to Jan Beulich
Quoted 9 lines · Jan Beulich

docs/misc/xen-command-line.markdown Specify which console gdbstub should use. See **console**. · line 751

Quoted 4 lines
Quoted 1 line
Quoted 1 line · On 19.01.16 at 12:56, <[email protected]> wrote:
docs/misc/xen-command-line.markdown +1 -2
-Specify the maximum number of maptrack frames domain.
-The default value is 8 times **gnttab\_max\_frames**.
+> Default: `8 * gnttab_max_frames`

No backslash escaping needed here?

In any case,

Applied, thanks.

Ian.