On Thu, 29 Oct 2009, Mel Gorman wrote:

> When using --set-recommended-shmmax, it attempts to set the value based
> on the maximum number of huge pages that can be allocated. In the event
> the total number of huge pages exceeds the size of the virtual address
> space, this counter can overflow and shmmax is set to a value that makes
> no sense. This patch catches when this situation occurs and truncates the
> recommended shmmax based on a unsigned long.
> 
> Tested on a 32-bit X86 machine.
> 
> Signed-off-by: Mel Gorman <m...@csn.ul.ie>

Applied, thanks.
Eric

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Libhugetlbfs-devel mailing list
Libhugetlbfs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to