Re: [PATCH 4.4 034/131] lib/int_sqrt: optimize small argument

From: Joe Perches
Date: Tue Apr 02 2019 - 05:00:14 EST


On Tue, 2019-04-02 at 08:59 +0200, Greg Kroah-Hartman wrote:
> On Mon, Apr 01, 2019 at 10:42:52AM -0700, Joe Perches wrote:
> > On Mon, 2019-04-01 at 19:01 +0200, Greg Kroah-Hartman wrote:
> > > 4.4-stable review patch. If anyone has any objections, please let me know.
> >
> > If this is to be ported just for an optimization
> > (which I think is dubious as it's not a bug fix),
>
> Yes, it was requested to be backported because of that.
>
> > why not port the __fls optimization too?
> >
> > __fls has a bigger effect on performance.
>
> What commit are you referring to?

f8ae107eef209bff29a5816bc1aad40d5cd69a80

> thanks,
>
> greg k-h