To avoid issues encountered with trimming, it is current disabled in
morecore.c. The HOWTO does not mention this fact, however. Correct this.

Signed-off-by: Nishanth Aravamudan <[EMAIL PROTECTED]>

diff --git a/HOWTO b/HOWTO
index 08a547f..8c13d46 100644
--- a/HOWTO
+++ b/HOWTO
@@ -208,6 +208,9 @@ segment); for 64-bit PowerPC binaries the address is 
rounded-up to a
 multiple of 1TB.  On all other platforms the address is rounded-up to
 the size of a hugepage.
 
+Note: The current implementation of hugepage malloc disables trimming.
+Therefore hugetlb memory allocated from the system will not be returned on
+free().
 
 Using hugepage text, data, or BSS
 ---------------------------------

-- 
Nishanth Aravamudan <[EMAIL PROTECTED]>
IBM Linux Technology Center

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Libhugetlbfs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to