diff options
Diffstat (limited to 'man/man2/alloc_hugepages.2')
| -rw-r--r-- | man/man2/alloc_hugepages.2 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/man/man2/alloc_hugepages.2 b/man/man2/alloc_hugepages.2 index 8e4b7ee1bd..ab8aed8014 100644 --- a/man/man2/alloc_hugepages.2 +++ b/man/man2/alloc_hugepages.2 @@ -7,11 +7,11 @@ alloc_hugepages, free_hugepages \- allocate or free huge pages .SH SYNOPSIS .nf -.BI "void *syscall(SYS_alloc_hugepages, int " key ", void " addr [. len "], \ -size_t " len , +.BI "void *syscall(SYS_alloc_hugepages, int " key ", void " addr [. size "], \ +size_t " size , .BI " int " prot ", int " flag ); .\" asmlinkage unsigned long sys_alloc_hugepages(int key, unsigned long addr, -.\" unsigned long len, int prot, int flag); +.\" unsigned long size, int prot, int flag); .BI "int syscall(SYS_free_hugepages, void *" addr ); .\" asmlinkage int sys_free_hugepages(unsigned long addr); .fi @@ -65,8 +65,8 @@ is a hint, that the kernel may or may not follow. Addresses must be properly aligned. .P The -.I len -argument is the length of the required segment. +.I size +argument is the size of the required segment. It must be a multiple of the huge page size. .P The |
