Michael> Does this guarantee that nothing else the child might
    Michael> need falls into the same page?

Yes, for example CQ buffers are allocated with:

        if (posix_memalign(&buf, dev->page_size,
                           align(nent * MTHCA_CQ_ENTRY_SIZE, dev->page_size)))

dev->page_size is initialized with:

        dev->page_size   = sysconf(_SC_PAGESIZE);

so the allocation gives a buffer aligned to the page size, with a size
that is a multiple of the page size.

 - R.
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to