From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boris Brezillon Subject: Re: [RFC PATCH 4/8] mtd: rawnand: ams-delta: Optimize pointer resolution on read/write Date: Fri, 20 Jul 2018 21:29:41 +0200 Message-ID: <20180720212941.628600da@bbrezillon> References: <20180718235710.18242-1-jmkrzyszt@gmail.com> <20180718235710.18242-5-jmkrzyszt@gmail.com> <20180719082538.222396bf@bbrezillon> <9888773.rgnYII6m0f@z50> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <9888773.rgnYII6m0f@z50> Sender: linux-kernel-owner@vger.kernel.org To: Janusz Krzysztofik Cc: Miquel Raynal , Tony Lindgren , Aaro Koskinen , Grygorii Strashko , Santosh Shilimkar , Kevin Hilman , Linus Walleij , Richard Weinberger , David Woodhouse , Brian Norris , Marek Vasut , linux-mtd@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Artem Bityutskiy List-Id: linux-gpio@vger.kernel.org On Fri, 20 Jul 2018 20:14:55 +0200 Janusz Krzysztofik wrote: > On Thursday, July 19, 2018 8:25:38 AM CEST Boris Brezillon wrote: > > On Thu, 19 Jul 2018 01:57:06 +0200 > > Janusz Krzysztofik wrote: > > > > > Further optimize processing speed of read/write callback functions by > > > resolving private structure pointer only once per callback and passing > > > it to all subfunctions instead of mtd_info. > > OK, I'll call it simplification (the code looks more simple after that, doesn't > it), Yep. > not optimization if you agree. > > Thanks, > Janusz > > >