[openib-general] [PATCH][RFC] kDAPL: remove dat wrapper funct ion dat_ia_query()
Christoph Hellwig
hch at lst.de
Sat Jun 11 02:20:40 PDT 2005
On Thu, Jun 09, 2005 at 01:58:20PM -0700, Caitlin Bestler wrote:
> The reason the method table is pointed at in each object is
> to avoid having to run long chains of memory references to
> get the method table. If you have the ep pointer you should
> be able to get the method table directly, not have to fetch
> the ia then the hca then the method table.
Currently every dapl object embedds dapl_common which has a pointer
to the dapl_ia. Now fixing that mess up a little every dat object
can have a dat_ia pointer (without the utter _common braindamage)
and there's one additional dereference, while saving one pointer per
allocated object.
More information about the general
mailing list