[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171019093025.5a7b9ea2@vmware.local.home>
Date: Thu, 19 Oct 2017 09:30:25 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Paolo Abeni <pabeni@...hat.com>
Cc: netdev@...r.kernel.org, "David S. Miller" <davem@...emloft.net>,
Ingo Molnar <mingo@...hat.com>,
David Ahern <dsa@...ulusnetworks.com>
Subject: Re: [PATCH net-next] ipv6: let trace_fib6_table_lookup()
dereference the fib table
On Thu, 19 Oct 2017 09:31:43 +0200
Paolo Abeni <pabeni@...hat.com> wrote:
> The perf traces for ipv6 routing code show a relevant cost around
> trace_fib6_table_lookup(), even if no trace is enabled. This is
> due to the fib6_table de-referencing currently performed by the
> caller.
>
> Let's the tracing code pay this overhead, passing to the trace
> helper the table pointer. This gives small but measurable
> performance improvement under UDP flood.
>
> Signed-off-by: Paolo Abeni <pabeni@...hat.com>
> ---
Acked-by: Steven Rostedt (VMware) <rostedt@...dmis.org>
-- Steve
Powered by blists - more mailing lists