Skip to contentSkip to conversation

docs: kernel-parameters: Refer to the correct bitmap function

PATCH Applied Andy Shevchenko 3 participants 3 messages Aug 17, 2023 – Aug 18, 2023 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: kernel-parameters: Refer to the correct bitmap function

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")
---
 Documentation/admin-guide/kernel-parameters.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/admin-guide/kernel-parameters.rst +1 -1
index 073f73880edf..102937bc8443 100644
@@ -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
Signature · 1 line
2.40.0.1.gaa8946217a0b
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · 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")

Thanks.

Quoted 17 lines
---
 Documentation/admin-guide/kernel-parameters.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/admin-guide/kernel-parameters.rst +1 -1
index 073f73880edf..102937bc8443 100644
@@ -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
Signature · 1 line
~Randy
maintainer Applied
#2 lore raw
In reply to Andy Shevchenko
Quoted 15 lines · 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")
---
 Documentation/admin-guide/kernel-parameters.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/admin-guide/kernel-parameters.rst +0 -0
index 073f73880edf..102937bc8443 100644

Documentation/admin-guide/kernel-parameters.rst The special case-tolerant group name "all" has a meaning of selecting all CPUs, · line 84

Quoted 6 lines
Documentation/admin-guide/kernel-parameters.rst +1 -1
@@ -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