Re: [PATCH] docs: make kptr_restrict and hash_pointers reference each other
From: Jonathan Corbet
Date: Mon Dec 22 2025 - 17:23:56 EST
Marc Herbert <marc.herbert@xxxxxxxxxxxxxxx> writes:
> vsprintf.c uses a mix of the `kernel.kptr_restrict` sysctl and the
> `hash_pointers` boot param to control pointer hashing. But that wasn't
> possible to tell without looking at the source code.
>
> They have a different focus and purpose. To avoid wasting the time of
> users trying to use one instead of the other, simply have them reference
> each other in the Documentation.
>
> Signed-off-by: Marc Herbert <marc.herbert@xxxxxxxxxxxxxxx>
> ---
> (please just go ahead with any minor corrections; I mean do not ask
> for my opinion)
> ---
> Documentation/admin-guide/kernel-parameters.txt | 3 +++
> Documentation/admin-guide/sysctl/kernel.rst | 2 ++
> 2 files changed, 5 insertions(+)
This one doesn't apply to docs-next; any chance I could get a respin?
Thanks,
jon