[openib-general] question: ib_umem page_size

Roland Dreier rdreier at cisco.com
Tue Aug 15 13:04:03 PDT 2006


    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.

 - R.




More information about the general mailing list