On Fri, Feb 10, 2012 at 04:46:41PM -0600, Andrew Hastings wrote:
> I recently recommended to a colleague that he use some functions defined in
> hugetlbfs.h. Unfortunately, I wasn't able to point him to documentation for
> those functions.
>
> hugetlbfs.h says:
> /*
> * This file should only contain definitions of functions, data types, and
> * constants which are part of the published libhugetlfs API. Functions
> * exported here must also be listed in version.lds.
> */
>
> These 12 functions are declared in hugetlbfs.h:
>
> gethugepagesize
> gethugepagesizes
> getpagesizes
> hugetlbfs_test_path
> hugetlbfs_find_path
> hugetlbfs_find_path_for_size
> hugetlbfs_unlinked_fd
> hugetlbfs_unlinked_fd_for_size
> get_huge_pages
> free_huge_pages
> get_hugepage_region
> free_hugepage_region
>
> I found man pages for these 6 functions in the libhugetlbfs 2.12 source:
>
> gethugepagesizes
> getpagesizes
> get_huge_pages
> free_huge_pages
> get_hugepage_region
> free_hugepage_region
>
> (The latter 4 man pages mention "SEE ALSO gethugepagesize(3)"; I haven't
> found a man page for gethugepagesize.)
>
> Have I overlooked documentation for the other 6 functions or are
> these man pages missing? I don't mind writing these man pages if
> they're missing, but I'm asking so I won't duplicate someone else's
> efforts.
I don't think there are any existing man pages.
--
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
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Libhugetlbfs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel