[openib-general] question: ib_umem page_size

Michael S. Tsirkin mst at mellanox.co.il
Tue Aug 15 13:08:54 PDT 2006


Quoting r. Roland Dreier <rdreier at cisco.com>:
> Subject: Re: question: ib_umem page_size
> 
>     Michael> Roland, could you please clarify what does the page_size
>     Michael> field in struct ib_mem do?
> 
> It gives the page size for the user memory described by the struct.
> The idea was that if/when someone tries to optimize for huge pages,
> then the low-level driver can know that a region is using huge pages
> without having to walk through the page list and search for the
> minimum physically contiguous size.

Thoguth though. Cool, that's exactly what I'm trying to do.

-- 
MST




More information about the general mailing list