aboutsummaryrefslogtreecommitdiff
path: root/include/odp/api/spec/system_info.h
diff options
context:
space:
mode:
authorMaxim Uvarov <maxim.uvarov@linaro.org>2016-05-10 18:34:37 +0300
committerMaxim Uvarov <maxim.uvarov@linaro.org>2016-07-27 23:20:57 +0300
commite63a6cc10819fccbc55ec55d4585e0619463320b (patch)
treed91d0e831f888f7f983ef71ed648c158c1e4a6b8 /include/odp/api/spec/system_info.h
parent2b5e5bdfc8b650feba79ccd23c175fad16fd2b33 (diff)
api: system: specify default huge page size
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.uvarov@linaro.org> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to 'include/odp/api/spec/system_info.h')
-rw-r--r--include/odp/api/spec/system_info.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/odp/api/spec/system_info.h b/include/odp/api/spec/system_info.h
index 6957731ac..c5a5fd0ef 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);