On Mon, 18 Aug 2008, [EMAIL PROTECTED] wrote:

> From: Mel Gorman <[EMAIL PROTECTED]>
> 
> A region created for morecore is prefaulted to ensure sufficient hugepages
> exist in the pool.  This was necessary on kernels older than 2.6.27-rc1 as
> MAP_PRIVATE mappings do not reserve pages in advance. Prefaulting is the
> only means of ensuring an application does not receive a SIGBUS due to a
> failed fault.
> 
> The get_huge_pages() API has similar requirements in that it needs to
> prefault a region to ensure future faults succeed. This patch splits out
> prefaulting into a separate utility function so it can be used by
> get_huge_pages().
> 
> Signed-off-by: Mel Gorman <[EMAIL PROTECTED]>
Applied, thanks,
Eric

Attachment: signature.asc
Description: Digital signature

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Libhugetlbfs-devel mailing list
Libhugetlbfs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to