]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
docs: make kptr_restrict and hash_pointers reference each other
authorMarc Herbert <marc.herbert@linux.intel.com>
Wed, 7 Jan 2026 20:21:32 +0000 (20:21 +0000)
committerJonathan Corbet <corbet@lwn.net>
Fri, 16 Jan 2026 18:31:58 +0000 (11:31 -0700)
commitd9d25684e98d45322a9b7ff44beb4275ffdf1d74
treee3d24d17177e05eb060f798fcec3a8fdd7872524
parent653793b8a3e502fe379daef5995d5a052fb1b04f
docs: make kptr_restrict and hash_pointers reference each other

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@linux.intel.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260107-doc-hash-ptr-v2-1-cb4c161218d7@linux.intel.com>
Documentation/admin-guide/kernel-parameters.txt
Documentation/admin-guide/sysctl/kernel.rst