mirror of https://github.com/mkerrisk/man-pages
madvise.2: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
a1402e4c93
commit
e9dedcd212
|
@ -227,7 +227,7 @@ The kernel will also allocate huge pages directly when the region is
|
|||
naturally aligned to the huge page size (see
|
||||
.BR posix_memalign (2)).
|
||||
This feature is primarily aimed at applications that use large mappings of
|
||||
data and access large regions of that memory at a time (e.g. virtualization
|
||||
data and access large regions of that memory at a time (e.g., virtualization
|
||||
systems such as QEMU).
|
||||
It can very easily waste memory (e.g. a 2MB mapping that only ever accesses
|
||||
1 byte will result in 2MB of wired memory instead of one 4KB page).
|
||||
|
|
Loading…
Reference in New Issue