From c0e140e64ca3fa006203d221d56303dc86f9a81a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Pr=C3=A9vot?= Date: Wed, 21 Sep 2011 22:13:46 -0400 Subject: [PATCH] madvise.2: tfix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: David Prévot --- man2/madvise.2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/man2/madvise.2 b/man2/madvise.2 index 59e6846d0..c87877c44 100644 --- a/man2/madvise.2 +++ b/man2/madvise.2 @@ -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