From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Horman Date: Tue, 16 Aug 2011 08:03:39 +0000 Subject: Re: [PATCH 1/5] mmc: tmio: Cache interrupt masks Message-Id: <20110816080338.GC12097@verge.net.au> List-Id: References: <1313460499-3377-1-git-send-email-horms@verge.net.au> <1313460499-3377-2-git-send-email-horms@verge.net.au> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Guennadi Liakhovetski Cc: linux-sh@vger.kernel.org, linux-mmc@vger.kernel.org, Chris Ball , Magnus Damm , Paul Mundt On Tue, Aug 16, 2011 at 09:19:12AM +0200, Guennadi Liakhovetski wrote: > On Tue, 16 Aug 2011, Simon Horman wrote: > > > This avoids the need to look up the masks each time an interrupt > > is handled. > > Yes, almost... But I think, we can use the mask-caches even more > extensively. In your patch you actually hardly gain anything, you continue > reading the mask register instead of using the cache. Namely: Sure.