On Wed, 22 Oct 2008, Andy Whitcroft wrote:

> We use the kernel default page size all over the place.  We use it
> approximatly 6 times when setting the boundaries on a single pool.
> Currently every place looks this value up in /proc/meminfo which is
> very costly.
> 
> As this value is essentially static per boot we can cache this value.
> Create a new routine kernel_default_hugepage_size() which looks this
> up and caches the result.
> 
> Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]>
Acked-by: Eric B Munson <[EMAIL PROTECTED]>

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