From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Sun, 12 May 2013 15:30:57 +0800 References: <1367879362-3164-1-git-send-email-ordex@autistici.org> In-Reply-To: <1367879362-3164-1-git-send-email-ordex@autistici.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201305121530.57674.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] [PATCHv2] batman-adv: don't use call_rcu if not needed 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: b.a.t.m.a.n@lists.open-mesh.org Cc: Antonio Quartulli On Tuesday, May 07, 2013 06:29:22 Antonio Quartulli wrote: > batadv_tt_global_entry_free_ref uses call_rcu to schedule a > function which will only free the global entry itself. > > For this reason call_rcu is useless and kfree_rcu can be > used to simplify the code. > > Signed-off-by: Antonio Quartulli > --- > > v2: > - removed one useless container_of in compat.c > > compat.c | 9 +++++++++ > translation-table.c | 20 ++++++-------------- > 2 files changed, 15 insertions(+), 14 deletions(-) Applied in revision 1bd8161. Thanks, Marek