From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 01 Dec 2010 11:12:05 -0800 (PST) Message-Id: <20101201.111205.28818479.davem@davemloft.net> From: David Miller In-Reply-To: <201012012004.34356.sven.eckelmann@gmx.de> References: <201012011954.20275.sven.eckelmann@gmx.de> <20101201.105615.48506929.davem@davemloft.net> <201012012004.34356.sven.eckelmann@gmx.de> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [B.A.T.M.A.N.] [PATCHv6] net: Add batman-adv meshing protocol Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: sven.eckelmann@gmx.de Cc: netdev@vger.kernel.org, b.a.t.m.a.n@lists.open-mesh.org From: Sven Eckelmann Date: Wed, 1 Dec 2010 20:04:33 +0100 > David Miller wrote: >> From: Sven Eckelmann >> Date: Wed, 1 Dec 2010 19:54:19 +0100 >> >> > Do you have any more possible duplication you have in your mind right >> > now? >> >> The hashing code, for the third time. > > And I asked in the past about the removal of the hashing stuff without any > reaction. So, we removed most of it. resize and iterate will be dropped too. > So, is it a problem to have a hash_find, hash_remove, hash_add? These were > created to reduce duplicated code and not to create a complete new dynamic > datastructure (which it isn't... it is just the usual hlist stuff) Ok, fair enough.