public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] Polishing of the hash implementation
@ 2010-10-09 12:16 Sven Eckelmann
  2010-10-09 12:16 ` [B.A.T.M.A.N.] [PATCH 1/5] batman-adv: Remove hashdata_compare_cb from hash Sven Eckelmann
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Sven Eckelmann @ 2010-10-09 12:16 UTC (permalink / raw)
  To: b.a.t.m.a.n

Hi,

David S. Miller wasn't amused[1] by our hash implementation. Instead he
proposed some changes we should make. I tried to implement most of them, but
don't think we should really manually inline every functionality currently
provided by the hash implementation. I would rather keep the heavily used
functions as compiler inlineable functions and do the rest using standard
kernel hlist_*.

Best regards,
	Sven

[1] Message-Id: <20100924.134334.28812338.davem@davemloft.net>


Sven Eckelmann (5):
      batman-adv: Remove hashdata_compare_cb from hash
      batman-adv: Remove hashdata_choose_cb from hash
      batman-adv: Move hash callback related function to header
      batman-adv: Make hash_iterate inlineable
      batman-adv: Rewrite hash using hlist_*

 batman-adv/hash.c              |  237 +--------------------------------------
 batman-adv/hash.h              |  220 ++++++++++++++++++++++++++++++++-----
 batman-adv/icmp_socket.c       |    2 +
 batman-adv/main.c              |   28 -----
 batman-adv/main.h              |    2 -
 batman-adv/originator.c        |   31 ++++--
 batman-adv/originator.h        |   28 +++++
 batman-adv/routing.c           |   22 +++-
 batman-adv/send.c              |    1 +
 batman-adv/translation-table.c |   58 +++++++---
 batman-adv/unicast.c           |    6 +-
 batman-adv/vis.c               |   49 ++++++--
 12 files changed, 347 insertions(+), 337 deletions(-)

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-10-23  1:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-09 12:16 [B.A.T.M.A.N.] Polishing of the hash implementation Sven Eckelmann
2010-10-09 12:16 ` [B.A.T.M.A.N.] [PATCH 1/5] batman-adv: Remove hashdata_compare_cb from hash Sven Eckelmann
2010-10-09 12:16 ` [B.A.T.M.A.N.] [PATCH 2/5] batman-adv: Remove hashdata_choose_cb " Sven Eckelmann
2010-10-09 12:16 ` [B.A.T.M.A.N.] [PATCH 3/5] batman-adv: Move hash callback related function to header Sven Eckelmann
2010-10-09 12:16 ` [B.A.T.M.A.N.] [PATCH 4/5] batman-adv: Make hash_iterate inlineable Sven Eckelmann
2010-10-09 12:16 ` [B.A.T.M.A.N.] [PATCH 5/5] batman-adv: Rewrite hash using hlist_* Sven Eckelmann
2010-10-09 12:32   ` [B.A.T.M.A.N.] [PATCHv2 " Sven Eckelmann
2010-10-10 14:26     ` [B.A.T.M.A.N.] [PATCHv3 " Sven Eckelmann
2010-10-23  1:41 ` [B.A.T.M.A.N.] Polishing of the hash implementation Marek Lindner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox