Re: [Libhugetlbfs-devel] [PATCH v4] common check for gethugepagesize() return

2008-04-10 Thread Nishanth Aravamudan
I think my mails were not getting sent out properly earlier, resending so it hits the list. On 09.04.2008 [16:22:34 -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

Re: [Libhugetlbfs-devel] [PATCH v4] common check for gethugepagesize() return

2008-04-10 Thread Jon Tollefson
Nishanth Aravamudan wrote: > On 09.04.2008 [16:22:34 -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 de

Re: [Libhugetlbfs-devel] [PATCH v4] common check for gethugepagesize() return

2008-04-09 Thread David Gibson
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 th

[Libhugetlbfs-devel] [PATCH v4] common check for gethugepagesize() return

2008-04-09 Thread Jon Tollefson
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 functio