[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20131023.162707.1471269899020780213.davem@davemloft.net>
Date: Wed, 23 Oct 2013 16:27:07 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: hannes@...essinduktion.org
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] net: always inline net_secret_init
From: Hannes Frederic Sowa <hannes@...essinduktion.org>
Date: Wed, 23 Oct 2013 08:44:50 +0200
> Currently net_secret_init does not get inlined, so we always have a call
> to net_secret_init even in the fast path.
>
> Let's specify net_secret_init as __always_inline so we have the nop in
> the fast-path without the call to net_secret_init and the unlikely path
> at the epilogue of the function.
>
> jump_labels handle the inlining correctly.
>
> Signed-off-by: Hannes Frederic Sowa <hannes@...essinduktion.org>
Applied, thanks Hannes.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists