[openib-general] [PATCH][RFC] kDAPL: remove dat wrapper funct ion dat_ia_query()

Tom Duffy tduffy at sun.com
Sun Jun 12 08:59:47 PDT 2005


On Sat, 2005-06-11 at 11:20 +0200, Christoph Hellwig wrote: 
> 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.

The compiler should be smart enough to not make the access any more
costly since they contain that struct and don't have a pointer to it,
but I do agree that the _common structure is not ideal and sorta ugly.

-tduffy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20050612/8d9e8419/attachment.sig>


More information about the general mailing list