On Wed, Apr 09, 2008 at 04:22:34PM -0500, Jon Tollefson wrote:
> This patch moves the check of the return value from gethugepagesize() to a
> common function, check_hugepagesize(),
> rather then repeating it in each test. gethugepagesize() is updated to set
> errno depending on the reason for the failure.
>
> Changes since v3
> -incorporated Mel Gorman's function that uses dlopen so that tests
> don't have to be linked against libhugetlbfs
> -used suggestions from Nishanth Aravamudan to use a static inline
> function and rename to check_hugepagesize()
> -added check_hugepagesize() call to linkhuge and linkshare tests
Acked-by: David Gibson <[EMAIL PROTECTED]>
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Libhugetlbfs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel