[openib-general] Re: neigh->ops destructor patch

Roland Dreier rdreier at cisco.com
Thu Mar 9 13:02:04 PST 2006


This is a surprisingly big win in .text size.  On x86_64:

add/remove: 2/1 grow/shrink: 0/6 up/down: 99/-225 (-126)
function                                     old     new   delta
ipoib_neigh_alloc                              -      63     +63
ipoib_neigh_free                               -      36     +36
ipoib_neigh_setup_dev                         11       3      -8
ipoib_neigh_destructor                       357     349      -8
ipoib_neigh_setup                             18       -     -18
path_free                                    308     277     -31
ipoib_mcast_free                             625     594     -31
ipoib_mcast_send                            1670    1621     -49
ipoib_start_xmit                            2613    2533     -80

so I'll go ahead and apply it after a little bit of testing.

Thanks,
  Roland



More information about the general mailing list