LKML Archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 1/1] docs: kernel-parameters: Refer to the correct bitmap function
@ 2023-08-17 14:04 Andy Shevchenko
  2023-08-17 17:18 ` Randy Dunlap
  2023-08-18 16:52 ` Jonathan Corbet
  0 siblings, 2 replies; 3+ messages in thread
From: Andy Shevchenko @ 2023-08-17 14:04 UTC (permalink / raw
  To: linux-doc, linux-kernel; +Cc: Jonathan Corbet, Andy Shevchenko

The parser of the CPU lists is bitmap_parselist() that supports
special notations with the plain numbers. bitmap_parse() never
supported those and will fail in case one will try it.

Fixes: b18def121f07 ("bitmap_parse: Support 'all' semantics")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 Documentation/admin-guide/kernel-parameters.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/admin-guide/kernel-parameters.rst b/Documentation/admin-guide/kernel-parameters.rst
index 073f73880edf..102937bc8443 100644
--- a/Documentation/admin-guide/kernel-parameters.rst
+++ b/Documentation/admin-guide/kernel-parameters.rst
@@ -80,7 +80,7 @@ The special case-tolerant group name "all" has a meaning of selecting all CPUs,
 so that "nohz_full=all" is the equivalent of "nohz_full=0-N".
 
 The semantics of "N" and "all" is supported on a level of bitmaps and holds for
-all users of bitmap_parse().
+all users of bitmap_parselist().
 
 This document may not be entirely up to date and comprehensive. The command
 "modinfo -p ${modulename}" shows a current list of all parameters of a loadable
-- 
2.40.0.1.gaa8946217a0b


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

* Re: [PATCH v1 1/1] docs: kernel-parameters: Refer to the correct bitmap function
  2023-08-17 14:04 [PATCH v1 1/1] docs: kernel-parameters: Refer to the correct bitmap function Andy Shevchenko
@ 2023-08-17 17:18 ` Randy Dunlap
  2023-08-18 16:52 ` Jonathan Corbet
  1 sibling, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2023-08-17 17:18 UTC (permalink / raw
  To: Andy Shevchenko, linux-doc, linux-kernel; +Cc: Jonathan Corbet



On 8/17/23 07:04, Andy Shevchenko wrote:
> The parser of the CPU lists is bitmap_parselist() that supports
> special notations with the plain numbers. bitmap_parse() never
> supported those and will fail in case one will try it.
> 
> Fixes: b18def121f07 ("bitmap_parse: Support 'all' semantics")
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

Reviewed-by: Randy Dunlap <rdunlap@infradead.org>

Thanks.

> ---
>  Documentation/admin-guide/kernel-parameters.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/admin-guide/kernel-parameters.rst b/Documentation/admin-guide/kernel-parameters.rst
> index 073f73880edf..102937bc8443 100644
> --- a/Documentation/admin-guide/kernel-parameters.rst
> +++ b/Documentation/admin-guide/kernel-parameters.rst
> @@ -80,7 +80,7 @@ The special case-tolerant group name "all" has a meaning of selecting all CPUs,
>  so that "nohz_full=all" is the equivalent of "nohz_full=0-N".
>  
>  The semantics of "N" and "all" is supported on a level of bitmaps and holds for
> -all users of bitmap_parse().
> +all users of bitmap_parselist().
>  
>  This document may not be entirely up to date and comprehensive. The command
>  "modinfo -p ${modulename}" shows a current list of all parameters of a loadable

-- 
~Randy

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

* Re: [PATCH v1 1/1] docs: kernel-parameters: Refer to the correct bitmap function
  2023-08-17 14:04 [PATCH v1 1/1] docs: kernel-parameters: Refer to the correct bitmap function Andy Shevchenko
  2023-08-17 17:18 ` Randy Dunlap
@ 2023-08-18 16:52 ` Jonathan Corbet
  1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Corbet @ 2023-08-18 16:52 UTC (permalink / raw
  To: Andy Shevchenko, linux-doc, linux-kernel; +Cc: Andy Shevchenko

Andy Shevchenko <andriy.shevchenko@linux.intel.com> writes:

> The parser of the CPU lists is bitmap_parselist() that supports
> special notations with the plain numbers. bitmap_parse() never
> supported those and will fail in case one will try it.
>
> Fixes: b18def121f07 ("bitmap_parse: Support 'all' semantics")
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
>  Documentation/admin-guide/kernel-parameters.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/admin-guide/kernel-parameters.rst b/Documentation/admin-guide/kernel-parameters.rst
> index 073f73880edf..102937bc8443 100644
> --- a/Documentation/admin-guide/kernel-parameters.rst
> +++ b/Documentation/admin-guide/kernel-parameters.rst
> @@ -80,7 +80,7 @@ The special case-tolerant group name "all" has a meaning of selecting all CPUs,
>  so that "nohz_full=all" is the equivalent of "nohz_full=0-N".
>  
>  The semantics of "N" and "all" is supported on a level of bitmaps and holds for
> -all users of bitmap_parse().
> +all users of bitmap_parselist().
>  

Applied, thanks.

jon

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

end of thread, other threads:[~2023-08-18 16:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-17 14:04 [PATCH v1 1/1] docs: kernel-parameters: Refer to the correct bitmap function Andy Shevchenko
2023-08-17 17:18 ` Randy Dunlap
2023-08-18 16:52 ` Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).