On Mon, 18 May 2009, Mel Gorman wrote:

> Due to some confustion between VM_SHARED and VM_MAYSHARE in hugetlbfs,
> it is possible for hugepage reservations to get leaked. By using
> VM_SHARED, hugetlbfs will treat a shmem segment mapped read-only as if
> it was MAP_PRIVATE.
> 
> This patch adds a test that checks if the kernel is vunerable to this bug.
> Note if this test fails, the system may no longer be usable for hugepage
> testing as the system will always think it has insufficient pages.
> 
> A patch is currently being tested for this bug but no fix is merged
> upstream yet.
> 
> Signed-off-by: Mel Gorman <m...@csn.ul.ie>

Applied, thanks.
Eric

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
Libhugetlbfs-devel mailing list
Libhugetlbfs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to