madvise.2: tfix

Signed-off-by: David Prévot <taffit@debian.org>
This commit is contained in:
David Prévot 2011-09-21 22:13:46 -04:00 committed by Michael Kerrisk
parent 928b19706f
commit c0e140e64c
1 changed files with 2 additions and 2 deletions

View File

@ -226,9 +226,9 @@ to replace them with huge pages.
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 aimmed at applications that use large mappings of
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
systems such as qemu).
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).
See the kernel source file