Re: [PATCH 1/2] docs: ksm: fix typos in sysfs knob names
"Lorenzo Stoakes (ARM)" <[email protected]> Mon, 3 Aug 2026 08:32:40 +0100
| Newsgroups | org.kernel.vger.linux-doc,org.kvack.linux-mm |
|---|---|
| Message-ID | <anBD-_khxIX-FzW-@lucifer> |
On Fri, Jul 31, 2026 at 04:35:25PM +0800, Jinjiang Tu wrote:
> The sysfs knob names in mm/ksm.c are "advisor_max_cpu" and
> "advisor_max_pages_to_scan", but the ksm.rst documentation spelled
> both as "adivsor_*", fix the two typos.
>
> Fixes: 0710f38ad26a ("mm/ksm: document ksm advisor and its sysfs knobs")
Same comment as David :)
> Signed-off-by: Jinjiang Tu <[email protected]>
Anyway LGTM, so:
Reviewed-by: Lorenzo Stoakes (ARM) <[email protected]>
> ---
> Documentation/admin-guide/mm/ksm.rst | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/admin-guide/mm/ksm.rst b/Documentation/admin-guide/mm/ksm.rst
> index ad8e7a41f3b5..c9f533b10f6f 100644
> --- a/Documentation/admin-guide/mm/ksm.rst
> +++ b/Documentation/admin-guide/mm/ksm.rst
> @@ -174,7 +174,7 @@ advisor_mode
> The section about ``advisor`` explains in detail how the scan time
> advisor works.
>
> -adivsor_max_cpu
> +advisor_max_cpu
> specifies the upper limit of the cpu percent usage of the ksmd
> background thread. The default is 70.
>
> @@ -186,7 +186,7 @@ advisor_min_pages_to_scan
> specifies the lower limit of the ``pages_to_scan`` parameter of the
> scan time advisor. The default is 500.
>
> -adivsor_max_pages_to_scan
> +advisor_max_pages_to_scan
> specifies the upper limit of the ``pages_to_scan`` parameter of the
> scan time advisor. The default is 30000.
>
> --
> 2.54.0
>
--
Cheers, Lorenzo