Reviewed-by: Petri Savolainen 
<[email protected]<mailto:[email protected]>>


From: lng-odp [mailto:[email protected]] On Behalf Of Bill 
Fischofer
Sent: Wednesday, May 11, 2016 1:39 AM
To: Maxim Uvarov <[email protected]>
Cc: LNG ODP Mailman List <[email protected]>
Subject: Re: [lng-odp] [API-NEXT PATCH] api: system: specify default huge page 
size

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 
<[email protected]<mailto:[email protected]>> 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 
<[email protected]<mailto:[email protected]>>

Reviewed-by: Bill Fischofer 
<[email protected]<mailto:[email protected]>>

---
 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
[email protected]<mailto:[email protected]>
https://lists.linaro.org/mailman/listinfo/lng-odp

_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to