On Fri, 2008-10-10 at 16:58 +0100, Andy Whitcroft wrote:
> diff --git a/libhugetlbfs_internal.h b/libhugetlbfs_internal.h
> index 197fa05..2912c5e 100644
> --- a/libhugetlbfs_internal.h
> +++ b/libhugetlbfs_internal.h
> @@ -89,6 +89,15 @@ struct hpage_size {
>       char mount[PATH_MAX+1];
>  };
> 
> +struct hpage_pool {
> +     unsigned long pagesize_kb;

I just noticed this while reviewing the next patch.  Awhile back I
switched from storing the page size in kb to always storing it in bytes.
This was to avoid confusion and promote consistency when handling page
size values.  Could we maintain that convention in this struct as well?

> +     unsigned long minimum;
> +     unsigned long maximum;
> +     unsigned long size;
> +};
> +
> +extern int __lh_hpool_sizes(struct hpage_pool *, int);
> +
>  /* Arch-specific callbacks */
>  extern int direct_syscall(int sysnum, ...);
>  extern ElfW(Word) plt_extrasz(ElfW(Dyn) *dyntab);
-- 
Adam Litke - (agl at us.ibm.com)
IBM Linux Technology Center


-------------------------------------------------------------------------
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