[openib-general] [PATCH][RFC] kDAPL: remove dat wrapper funct ion dat_ia_query()
Talpey, Thomas
Thomas.Talpey at netapp.com
Mon Jun 13 11:00:28 PDT 2005
At 05:20 AM 6/11/2005, 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.
Not to defend the dapl_common stuff, but that extra pointer saves
more than an indirection, it also avoids fetching another cacheline.
Which, on the hotpath routines, can make a significant difference
and is generally worth the extra single pointer storage.
Tom.
More information about the general
mailing list