All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] docs: correct descriptions of gnttab_max_{, maptrack}_frames
@ 2016-01-19 11:56 Ian Campbell
  2016-01-19 12:07 ` Ian Campbell
  2016-01-19 13:06 ` Jan Beulich
  0 siblings, 2 replies; 11+ messages in thread
From: Ian Campbell @ 2016-01-19 11:56 UTC (permalink / raw)
  To: jbeulich, ian.jackson; +Cc: Ian Campbell, xen-devel

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.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
---
v2: Use more prevalent form for specifying defaults.
---
 docs/misc/xen-command-line.markdown | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/docs/misc/xen-command-line.markdown b/docs/misc/xen-command-line.markdown
index 5ed0730..d267a04 100644
--- a/docs/misc/xen-command-line.markdown
+++ b/docs/misc/xen-command-line.markdown
@@ -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>`
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: [PATCH] docs: correct descriptions of gnttab_max_{, maptrack}_frames
  2016-01-19 11:56 [PATCH] docs: correct descriptions of gnttab_max_{, maptrack}_frames Ian Campbell
@ 2016-01-19 12:07 ` Ian Campbell
  2016-01-19 13:06 ` Jan Beulich
  1 sibling, 0 replies; 11+ messages in thread
From: Ian Campbell @ 2016-01-19 12:07 UTC (permalink / raw)
  To: jbeulich, ian.jackson; +Cc: xen-devel

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

Should have been tagged, v2, sorry.

> 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.
> 
> Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
> ---
> v2: Use more prevalent form for specifying defaults.
> ---
>  docs/misc/xen-command-line.markdown | 11 ++++++++---
>  1 file changed, 8 insertions(+), 3 deletions(-)
> 
> diff --git a/docs/misc/xen-command-line.markdown b/docs/misc/xen-command-
> line.markdown
> index 5ed0730..d267a04 100644
> --- a/docs/misc/xen-command-line.markdown
> +++ b/docs/misc/xen-command-line.markdown
> @@ -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>`

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH] docs: correct descriptions of gnttab_max_{, maptrack}_frames
  2016-01-19 11:56 [PATCH] docs: correct descriptions of gnttab_max_{, maptrack}_frames Ian Campbell
  2016-01-19 12:07 ` Ian Campbell
@ 2016-01-19 13:06 ` Jan Beulich
  2016-01-19 13:10   ` Ian Campbell
  2016-01-19 16:48   ` Ian Campbell
  1 sibling, 2 replies; 11+ messages in thread
From: Jan Beulich @ 2016-01-19 13:06 UTC (permalink / raw)
  To: Ian Campbell; +Cc: ian.jackson, xen-devel

>>> On 19.01.16 at 12:56, <ian.campbell@citrix.com> wrote:
> -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,
Acked-by: Jan Beulich <jbeulich@suse.com>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH] docs: correct descriptions of gnttab_max_{, maptrack}_frames
  2016-01-19 13:06 ` Jan Beulich
@ 2016-01-19 13:10   ` Ian Campbell
  2016-01-19 14:06     ` Andrew Cooper
  2016-01-19 16:48   ` Ian Campbell
  1 sibling, 1 reply; 11+ messages in thread
From: Ian Campbell @ 2016-01-19 13:10 UTC (permalink / raw)
  To: Jan Beulich; +Cc: ian.jackson, xen-devel

On Tue, 2016-01-19 at 06:06 -0700, Jan Beulich wrote:
> > > > On 19.01.16 at 12:56, <ian.campbell@citrix.com> wrote:
> > -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.
> 
> In any case,
> Acked-by: Jan Beulich <jbeulich@suse.com>

Thanks.

Ian.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH] docs: correct descriptions of gnttab_max_{, maptrack}_frames
  2016-01-19 13:10   ` Ian Campbell
@ 2016-01-19 14:06     ` Andrew Cooper
  2016-01-19 14:22       ` Ian Campbell
  0 siblings, 1 reply; 11+ messages in thread
From: Andrew Cooper @ 2016-01-19 14:06 UTC (permalink / raw)
  To: Ian Campbell, Jan Beulich; +Cc: ian.jackson, xen-devel

On 19/01/16 13:10, Ian Campbell wrote:
> On Tue, 2016-01-19 at 06:06 -0700, Jan Beulich wrote:
>>>>> On 19.01.16 at 12:56, <ian.campbell@citrix.com> wrote:
>>> -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.
>> In any case,
>> Acked-by: Jan Beulich <jbeulich@suse.com>
> 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 <andrew.cooper3@citrix.com>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH] docs: correct descriptions of gnttab_max_{, maptrack}_frames
  2016-01-19 14:06     ` Andrew Cooper
@ 2016-01-19 14:22       ` Ian Campbell
  2016-01-19 14:26         ` Andrew Cooper
  0 siblings, 1 reply; 11+ messages in thread
From: Ian Campbell @ 2016-01-19 14:22 UTC (permalink / raw)
  To: Andrew Cooper, Jan Beulich; +Cc: ian.jackson, xen-devel

On Tue, 2016-01-19 at 14:06 +0000, Andrew Cooper wrote:
> On 19/01/16 13:10, Ian Campbell wrote:
> > On Tue, 2016-01-19 at 06:06 -0700, Jan Beulich wrote:
> > > > > > On 19.01.16 at 12:56, <ian.campbell@citrix.com> wrote:
> > > > -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.
> > > In any case,
> > > Acked-by: Jan Beulich <jbeulich@suse.com>
> > 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.

> 
> Either way, Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH] docs: correct descriptions of gnttab_max_{, maptrack}_frames
  2016-01-19 14:22       ` Ian Campbell
@ 2016-01-19 14:26         ` Andrew Cooper
  0 siblings, 0 replies; 11+ messages in thread
From: Andrew Cooper @ 2016-01-19 14:26 UTC (permalink / raw)
  To: Ian Campbell, Jan Beulich; +Cc: ian.jackson, xen-devel

On 19/01/16 14:22, Ian Campbell wrote:
> On Tue, 2016-01-19 at 14:06 +0000, Andrew Cooper wrote:
>> On 19/01/16 13:10, Ian Campbell wrote:
>>> On Tue, 2016-01-19 at 06:06 -0700, Jan Beulich wrote:
>>>>>>> On 19.01.16 at 12:56, <ian.campbell@citrix.com> wrote:
>>>>> -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.
>>>> In any case,
>>>> Acked-by: Jan Beulich <jbeulich@suse.com>
>>> 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.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH] docs: correct descriptions of gnttab_max_{, maptrack}_frames
  2016-01-19 13:06 ` Jan Beulich
  2016-01-19 13:10   ` Ian Campbell
@ 2016-01-19 16:48   ` Ian Campbell
  1 sibling, 0 replies; 11+ messages in thread
From: Ian Campbell @ 2016-01-19 16:48 UTC (permalink / raw)
  To: Jan Beulich; +Cc: ian.jackson, xen-devel

On Tue, 2016-01-19 at 06:06 -0700, Jan Beulich wrote:
> > > > On 19.01.16 at 12:56, <ian.campbell@citrix.com> wrote:
> > -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,
> Acked-by: Jan Beulich <jbeulich@suse.com>

Applied, thanks.

Ian.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH] docs: correct descriptions of gnttab_max_{, maptrack}_frames
  2016-01-18 13:19 Ian Campbell
  2016-01-18 13:48 ` Jan Beulich
@ 2016-01-18 13:53 ` Andrew Cooper
  1 sibling, 0 replies; 11+ messages in thread
From: Andrew Cooper @ 2016-01-18 13:53 UTC (permalink / raw)
  To: Ian Campbell, jbeulich, ian.jackson; +Cc: xen-devel

On 18/01/16 13:19, Ian Campbell wrote:
> 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).
>
> Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
> ---
>  docs/misc/xen-command-line.markdown | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/docs/misc/xen-command-line.markdown b/docs/misc/xen-command-line.markdown
> index 5ed0730..8d46892 100644
> --- a/docs/misc/xen-command-line.markdown
> +++ b/docs/misc/xen-command-line.markdown
> @@ -740,13 +740,14 @@ Specify which console gdbstub should use. See **console**.
>  ### gnttab\_max\_frames
>  > `= <integer>`

> Default: `32`

Is the prevailing style for indicating defaults.

Otherwise, Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>

>  
> -Specify the maximum number of frames per grant table operation.
> +Specify the maximum number of frames which any domain may use as part
> +of its grant table. The default value is 32.
>  
>  ### gnttab\_max\_maptrack\_frames
>  > `= <integer>`
>  
> -Specify the maximum number of maptrack frames domain.
> -The default value is 8 times **gnttab\_max\_frames**.
> +Specify the maximum number of frames to use as part of a domains
> +maptrack array. The default value is 8 times **gnttab\_max\_frames**.
>  
>  ### gnttab\_max\_nr\_frames
>  > `= <integer>`

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH] docs: correct descriptions of gnttab_max_{, maptrack}_frames
  2016-01-18 13:19 Ian Campbell
@ 2016-01-18 13:48 ` Jan Beulich
  2016-01-18 13:53 ` Andrew Cooper
  1 sibling, 0 replies; 11+ messages in thread
From: Jan Beulich @ 2016-01-18 13:48 UTC (permalink / raw)
  To: Ian Campbell; +Cc: ian.jackson, xen-devel

>>> On 18.01.16 at 14:19, <ian.campbell@citrix.com> wrote:
> 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).
> 
> Signed-off-by: Ian Campbell <ian.campbell@citrix.com>

Acked-by: Jan Beulich <jbeulich@suse.com>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [PATCH] docs: correct descriptions of gnttab_max_{, maptrack}_frames
@ 2016-01-18 13:19 Ian Campbell
  2016-01-18 13:48 ` Jan Beulich
  2016-01-18 13:53 ` Andrew Cooper
  0 siblings, 2 replies; 11+ messages in thread
From: Ian Campbell @ 2016-01-18 13:19 UTC (permalink / raw)
  To: jbeulich, ian.jackson; +Cc: Ian Campbell, xen-devel

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).

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
---
 docs/misc/xen-command-line.markdown | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/docs/misc/xen-command-line.markdown b/docs/misc/xen-command-line.markdown
index 5ed0730..8d46892 100644
--- a/docs/misc/xen-command-line.markdown
+++ b/docs/misc/xen-command-line.markdown
@@ -740,13 +740,14 @@ Specify which console gdbstub should use. See **console**.
 ### gnttab\_max\_frames
 > `= <integer>`
 
-Specify the maximum number of frames per grant table operation.
+Specify the maximum number of frames which any domain may use as part
+of its grant table. The default value is 32.
 
 ### gnttab\_max\_maptrack\_frames
 > `= <integer>`
 
-Specify the maximum number of maptrack frames domain.
-The default value is 8 times **gnttab\_max\_frames**.
+Specify the maximum number of frames to use as part of a domains
+maptrack array. The default value is 8 times **gnttab\_max\_frames**.
 
 ### gnttab\_max\_nr\_frames
 > `= <integer>`
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-01-19 16:48 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-19 11:56 [PATCH] docs: correct descriptions of gnttab_max_{, maptrack}_frames Ian Campbell
2016-01-19 12:07 ` Ian Campbell
2016-01-19 13:06 ` Jan Beulich
2016-01-19 13:10   ` Ian Campbell
2016-01-19 14:06     ` Andrew Cooper
2016-01-19 14:22       ` Ian Campbell
2016-01-19 14:26         ` Andrew Cooper
2016-01-19 16:48   ` Ian Campbell
  -- strict thread matches above, loose matches on Subject: below --
2016-01-18 13:19 Ian Campbell
2016-01-18 13:48 ` Jan Beulich
2016-01-18 13:53 ` Andrew Cooper

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.