Re: [RFC PATCH 4/8] mtd: rawnand: ams-delta: Optimize pointer resolution on read/write
From: Boris Brezillon
Date: Fri Jul 20 2018 - 15:29:58 EST
On Fri, 20 Jul 2018 20:14:55 +0200
Janusz Krzysztofik <jmkrzyszt@xxxxxxxxx> 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 <jmkrzyszt@xxxxxxxxx> 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
>
>
>