[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <563a9fbd-0057-132a-85c2-06ee4079a100@cumulusnetworks.com>
Date: Fri, 15 Jul 2016 09:33:33 -0600
From: David Ahern <dsa@...ulusnetworks.com>
To: Phil Sutter <phil@....cc>, Stephen Hemminger <shemming@...cade.com>
Cc: Daniel Borkmann <daniel@...earbox.net>,
Nicolas Dichtel <nicolas.dichtel@...nd.com>,
Julien Floret <julien.floret@...nd.com>,
David Laight <David.Laight@...LAB.COM>, netdev@...r.kernel.org
Subject: Re: [iproute PATCH v4 3/5] Replace malloc && memset by calloc
On 7/13/16 12:47 PM, Phil Sutter wrote:
> This only replaces occurrences where the newly allocated memory is
> cleared completely afterwards, as in other cases it is a theoretical
> performance hit although code would be cleaner this way.
>
> Signed-off-by: Phil Sutter <phil@....cc>
> ---
> Changes since v2:
> - Fix checkpatch errors.
> ---
> genl/genl.c | 3 +--
> lib/names.c | 7 ++-----
> misc/lnstat.c | 6 ++----
> misc/lnstat_util.c | 4 +---
> tc/em_canid.c | 4 ++--
> tc/m_action.c | 3 +--
> tc/m_ipt.c | 13 ++++---------
> tc/m_pedit.c | 3 +--
> tc/tc.c | 9 +++------
> tc/tc_bpf.c | 4 +---
> tc/tc_class.c | 3 +--
> tc/tc_exec.c | 3 +--
> 12 files changed, 20 insertions(+), 42 deletions(-)
Acked-by: David Ahern <dsa@...ulusnetworks.com>
Powered by blists - more mailing lists