madvise.2: tfix
PATCH 1/1 madvise.2: tfix
Signed-off-by David Prévot <[email protected]>
--- man2/madvise.2 | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
man2/madvise.2 +2 -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
Signature · 6 lines
1.7.6.3 -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 1316657626-30903-1-git-send-email-taffit-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org
Hi David
Quoted 2 lines · David Prévot
Signed-off-by David Prévot <[email protected]>
Thanks.
Applied for 3.34.
Cheers,
Michael
Quoted 23 lines
---
man2/madvise.2 | 4 ++--1 files changed, 2 insertions(+), 2 deletions(-)man2/madvise.2 +0
-0@@ -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
.BRposix_memalign(2)).man2/madvise.2 +1
-1-This feature is primarily aimmed at applications that use large mappings of +This feature is primarily aimed at applications that use large mappings ofdata and access large regions of that memory at a time (e.g. virtualization
man2/madvise.2 +1
-1-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
--
1.7.6.3
Signature · 7 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Author of "The Linux Programming Interface"; http://man7.org/tlpi/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html