Branch: refs/heads/api-next
  Home:   https://github.com/Linaro/odp
  Commit: 8fea9ff7d8fde984981e681f49133dbda8429b7f
      
https://github.com/Linaro/odp/commit/8fea9ff7d8fde984981e681f49133dbda8429b7f
  Author: Matias Elo <matias....@nokia.com>
  Date:   2017-07-07 (Fri, 07 Jul 2017)

  Changed paths:
    M include/odp/api/spec/system_info.h

  Log Message:
  -----------
  api: system_info: add function for fetching all supported huge page sizes

A system may simultaneously support multiple huge page sizes. Add a new API
function odp_sys_huge_page_size_all() which returns all supported page
sizes. odp_sys_huge_page_size() stays unmodified to maintain backward
compatibility.

Signed-off-by: Matias Elo <matias....@nokia.com>
Reviewed-and-tested-by: Bill Fischofer <bill.fischo...@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org>


  Commit: eb564bfb6f813ec3f2fe8a8d4ce0da25220b4215
      
https://github.com/Linaro/odp/commit/eb564bfb6f813ec3f2fe8a8d4ce0da25220b4215
  Author: Matias Elo <matias....@nokia.com>
  Date:   2017-07-07 (Fri, 07 Jul 2017)

  Changed paths:
    M platform/linux-generic/odp_system_info.c

  Log Message:
  -----------
  linux-gen: system_info: implement odp_sys_huge_page_size_all()

Directory /sys/kernel/mm/hugepages contains subdirectories for all huge
page sizes supported by the running kernel. Loop through the contents of
this directory to find the supported huge page sizes.

Signed-off-by: Matias Elo <matias....@nokia.com>
Reviewed-and-tested-by: Bill Fischofer <bill.fischo...@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org>


  Commit: b668182d6ea0cb942c2cf43771c618c9457bf146
      
https://github.com/Linaro/odp/commit/b668182d6ea0cb942c2cf43771c618c9457bf146
  Author: Matias Elo <matias....@nokia.com>
  Date:   2017-07-07 (Fri, 07 Jul 2017)

  Changed paths:
    M test/common_plat/validation/api/system/system.c
    M test/common_plat/validation/api/system/system.h

  Log Message:
  -----------
  validation: system_info: add test for odp_sys_huge_page_size_all()

Signed-off-by: Matias Elo <matias....@nokia.com>
Reviewed-and-tested-by: Bill Fischofer <bill.fischo...@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org>


Compare: https://github.com/Linaro/odp/compare/15c97427d01c...b668182d6ea0

Reply via email to