> On 5 May 2017, at 17:19, Bill Fischofer <bill.fischo...@linaro.org> wrote:
> 
> 
> 
> On Fri, May 5, 2017 at 8:58 AM, Matias Elo <matias....@nokia.com> wrote:
> The old test wasn't valid, since a system may support multiple huge page
> sizes. As odp_sys_huge_page_size() returns currently only a single value
> more precise test than 'page_size != 0' cannot be performed.
> 
> Good point, but might a better approach be to expand what's returned to 
> include a list of supported sizes, or at least the range of those sizes?
> 

Hi Bill,

Could this patch be merged as a stopgap before the required API change is done? 
The problem is that odp-dpdk's (+ new native shm implementation) validation 
test fails on systems with default 2MB hugepages without this fix.

I can submit an API change proposal. 

 -Matias


Reply via email to