[ofa-general] Re: [PATCH 1/3] V2 - libmthca - Optimize memory allocation of QP buffers
Roland Dreier
rdreier at cisco.com
Tue Jul 7 21:14:59 PDT 2009
So I'm finally looking at applying this patch. And I wonder why you
only do this for QP buffers -- it seems every other object allocated
with mthca_alloc_buf(), namely CQs, SRQs and mem-free doorbell records,
are all also page aligned, and similarly waste memory.
So should we not just replace the posix_memalign() in alloc_buf with
anonymous mmap, and end up with a simpler patch that saves even more
memory?
- R.
More information about the general
mailing list