Re: [PATCH] memfd_create.2, mmap.2, shmget.2, proc_sys_vm.5: fix name of vm.hugetlb_shm_group
From: Alejandro Colomar <alx@kernel.org>
Date: 2025-05-31 17:12:45
Hi! On Sat, May 31, 2025 at 06:48:43PM +0200, Ahelenia Ziemiańska wrote:
sysctl_hugetlb_shm_group is the name of the variable(!) in mm/hugetlb.c
Could you please add a Fixes: tag?
Subject: Re: [PATCH] memfd_create.2, mmap.2, shmget.2, proc_sys_vm.5: fix name of vm.hugetlb_shm_group
Please use 'man/:' as the prefix, since the specific pages are unimportant. Also, please use uppercase after the ':'.
Signed-off-by: Ahelenia Ziemiańska <redacted>
Have a lovely day! Alex
quoted hunk ↗ jump to hunk
--- man/man2/memfd_create.2 | 4 ++-- man/man2/mmap.2 | 4 ++-- man/man2/shmget.2 | 4 ++-- man/man5/proc_sys_vm.5 | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-)diff --git a/man/man2/memfd_create.2 b/man/man2/memfd_create.2 index 4cf30c157..29a110ef7 100644 --- a/man/man2/memfd_create.2 +++ b/man/man2/memfd_create.2@@ -195,9 +195,9 @@ .SH ERRORS .B CAP_IPC_LOCK capability) and is not a member of the -.I sysctl_hugetlb_shm_group +.I hugetlb_shm_group group; see the description of -.I /proc/sys/vm/sysctl_hugetlb_shm_group +.I /proc/sys/vm/hugetlb_shm_group in .BR proc (5). .SH STANDARDSdiff --git a/man/man2/mmap.2 b/man/man2/mmap.2 index 255fa2353..cf110dad9 100644 --- a/man/man2/mmap.2 +++ b/man/man2/mmap.2@@ -614,9 +614,9 @@ .SH ERRORS .B CAP_IPC_LOCK capability) and is not a member of the -.I sysctl_hugetlb_shm_group +.I hugetlb_shm_group group; see the description of -.I /proc/sys/vm/sysctl_hugetlb_shm_group +.I /proc/sys/vm/hugetlb_shm_group in .BR proc_sys (5). .TPdiff --git a/man/man2/shmget.2 b/man/man2/shmget.2 index 8101dbb50..d273966a9 100644 --- a/man/man2/shmget.2 +++ b/man/man2/shmget.2@@ -251,9 +251,9 @@ .SH ERRORS .B CAP_IPC_LOCK capability) and is not a member of the -.I sysctl_hugetlb_shm_group +.I hugetlb_shm_group group; see the description of -.I /proc/sys/vm/sysctl_hugetlb_shm_group +.I /proc/sys/vm/hugetlb_shm_group in .BR proc (5). .SH STANDARDSdiff --git a/man/man5/proc_sys_vm.5 b/man/man5/proc_sys_vm.5 index 4ee50a54f..1ed32b8ff 100644 --- a/man/man5/proc_sys_vm.5 +++ b/man/man5/proc_sys_vm.5@@ -85,7 +85,7 @@ .SH DESCRIPTION .BR sync (1) first. .TP -.IR /proc/sys/vm/sysctl_hugetlb_shm_group " (since Linux 2.6.7)" +.IR /proc/sys/vm/hugetlb_shm_group " (since Linux 2.6.7)" This writable file contains a group ID that is allowed to allocate memory using huge pages. If a process has a filesystem group ID or any supplementary group ID that-- 2.39.5
-- <https://www.alejandro-colomar.es/>
Attachments
- signature.asc [application/pgp-signature] 833 bytes