As we discussed today, I believe doc clarifications like this should be
fine for RC3. Petri to confirm.

On Tue, May 10, 2016 at 10:34 AM, Maxim Uvarov <maxim.uva...@linaro.org>
wrote:

> System can have different sizes for huge pages. Clarify that
> this api returns default system huge page size, which is usually
> 2Mb on x86 reachable with:
> grep Hugepagesize: /proc/meminfo
>
> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org>
>

Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org>


> ---
>  It might be too late for current Monarch rename api calls or do some
>  more smart info about huge pages, so we can clarify behaviour in odp api.
>
>  Maxim.
>
>  include/odp/api/spec/system_info.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/include/odp/api/spec/system_info.h
> b/include/odp/api/spec/system_info.h
> index 6957731..c5a5fd0 100644
> --- a/include/odp/api/spec/system_info.h
> +++ b/include/odp/api/spec/system_info.h
> @@ -24,9 +24,9 @@ extern "C" {
>   */
>
>  /**
> - * Huge page size in bytes
> + * Default system huge page size in bytes
>   *
> - * @return Huge page size in bytes
> + * @return Default huge page size in bytes
>   */
>  uint64_t odp_sys_huge_page_size(void);
>
> --
> 2.7.1.250.gff4ea60
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> https://lists.linaro.org/mailman/listinfo/lng-odp
>
_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to