madvise.2: grfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2012-05-05 15:02:55 +12:00
parent a1402e4c93
commit e9dedcd212
1 changed files with 1 additions and 1 deletions

View File

@ -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).