[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140920121740.GA3850@katana>
Date: Sat, 20 Sep 2014 14:17:42 +0200
From: Wolfram Sang <wsa@...-dreams.de>
To: Doug Anderson <dianders@...omium.org>
Cc: Dmitry Torokhov <dmitry.torokhov@...il.com>,
Addy Ke <addy.ke@...k-chips.com>,
linux-arm-kernel@...ts.infradead.org,
linux-rockchip@...ts.infradead.org, heiko@...ech.de,
max.schwarz@...ine.de, dan.carpenter@...cle.com,
linux-i2c@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] i2c: rk3x: Remove unlikely() annotations
On Fri, Aug 22, 2014 at 10:43:44AM -0700, Doug Anderson wrote:
> Having a transfer more than 32 bits is not all that unlikely. Remove
> the annotation.
>
> The unlikely in the IRQ handler can't gain us much. It's not in a
> loop, so at most it would save 1 instruction per IRQ, which isn't
> much. In fact on the compiler I tested it produced the exact same
> code. Remove it too.
>
> Suggested-by: Dmitry Torokhov <dmitry.torokhov@...il.com>
> Signed-off-by: Doug Anderson <dianders@...omium.org>
Applied to for-next, thanks!
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists