Documentation: virt: correct location of haltpoll module params

Message ID 20230610054302.6223-1-rdunlap@infradead.org
State New
Headers
Series Documentation: virt: correct location of haltpoll module params |

Commit Message

Randy Dunlap June 10, 2023, 5:43 a.m. UTC
  Module parameters are located in sysfs, not debugfs, so correct the
statement.

Fixes: 2cffe9f6b96f ("cpuidle: add haltpoll governor")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org
---
 Documentation/virt/guest-halt-polling.rst |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Bagas Sanjaya June 12, 2023, 1:33 a.m. UTC | #1
On Fri, Jun 09, 2023 at 10:43:02PM -0700, Randy Dunlap wrote:
> diff -- a/Documentation/virt/guest-halt-polling.rst b/Documentation/virt/guest-halt-polling.rst
> --- a/Documentation/virt/guest-halt-polling.rst
> +++ b/Documentation/virt/guest-halt-polling.rst
> @@ -72,7 +72,7 @@ high once achieves global guest_halt_pol
>  
>  Default: Y
>  
> -The module parameters can be set from the debugfs files in::
> +The module parameters can be set from the sysfs files in::
>  
>  	/sys/module/haltpoll/parameters/
>  

LGTM, thanks!

Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com>
  
Marcelo Tosatti June 12, 2023, 2:24 p.m. UTC | #2
On Fri, Jun 09, 2023 at 10:43:02PM -0700, Randy Dunlap wrote:
> Module parameters are located in sysfs, not debugfs, so correct the
> statement.
> 
> Fixes: 2cffe9f6b96f ("cpuidle: add haltpoll governor")
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Marcelo Tosatti <mtosatti@redhat.com>
> Cc: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>
> Cc: Jonathan Corbet <corbet@lwn.net>
> Cc: linux-doc@vger.kernel.org
> ---
>  Documentation/virt/guest-halt-polling.rst |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff -- a/Documentation/virt/guest-halt-polling.rst b/Documentation/virt/guest-halt-polling.rst
> --- a/Documentation/virt/guest-halt-polling.rst
> +++ b/Documentation/virt/guest-halt-polling.rst
> @@ -72,7 +72,7 @@ high once achieves global guest_halt_pol
>  
>  Default: Y
>  
> -The module parameters can be set from the debugfs files in::
> +The module parameters can be set from the sysfs files in::
>  
>  	/sys/module/haltpoll/parameters/
>  
> 
> 

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
  
Jonathan Corbet June 16, 2023, 2:18 p.m. UTC | #3
Marcelo Tosatti <mtosatti@redhat.com> writes:

> On Fri, Jun 09, 2023 at 10:43:02PM -0700, Randy Dunlap wrote:
>> Module parameters are located in sysfs, not debugfs, so correct the
>> statement.
>> 
>> Fixes: 2cffe9f6b96f ("cpuidle: add haltpoll governor")
>> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
>> Cc: Marcelo Tosatti <mtosatti@redhat.com>
>> Cc: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>
>> Cc: Jonathan Corbet <corbet@lwn.net>
>> Cc: linux-doc@vger.kernel.org
>> ---
>>  Documentation/virt/guest-halt-polling.rst |    2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>> 
>> diff -- a/Documentation/virt/guest-halt-polling.rst b/Documentation/virt/guest-halt-polling.rst
>> --- a/Documentation/virt/guest-halt-polling.rst
>> +++ b/Documentation/virt/guest-halt-polling.rst
>> @@ -72,7 +72,7 @@ high once achieves global guest_halt_pol
>>  
>>  Default: Y
>>  
>> -The module parameters can be set from the debugfs files in::
>> +The module parameters can be set from the sysfs files in::
>>  
>>  	/sys/module/haltpoll/parameters/
>>  
>> 
>> 
>
> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

I'm not sure why you're offering a signoff for Randy's patch...?

In any case, I've taken this as an ack and applied it.

Thanks,

jon
  

Patch

diff -- a/Documentation/virt/guest-halt-polling.rst b/Documentation/virt/guest-halt-polling.rst
--- a/Documentation/virt/guest-halt-polling.rst
+++ b/Documentation/virt/guest-halt-polling.rst
@@ -72,7 +72,7 @@  high once achieves global guest_halt_pol
 
 Default: Y
 
-The module parameters can be set from the debugfs files in::
+The module parameters can be set from the sysfs files in::
 
 	/sys/module/haltpoll/parameters/