Re: [PATCH 2/2] MIPS: enable GENERIC_FIND_FIRST_BIT

2021-03-01 Thread Thomas Bogendoerfer
On Thu, Feb 25, 2021 at 05:57:00AM -0800, Yury Norov wrote: > From: Alexander Lobakin > > MIPS doesn't have architecture-optimized bitsearching functions, > like find_{first,next}_bit() etc. > It's absolutely harmless to enable GENERIC_FIND_FIRST_BIT as this > functionality is not new at all and

Re: [PATCH 2/2] MIPS: enable GENERIC_FIND_FIRST_BIT

2021-02-25 Thread Yury Norov
On Fri, Feb 26, 2021 at 09:22:18AM +0800, Huacai Chen wrote: > Hi, Yury, > > On Thu, Feb 25, 2021 at 9:59 PM Yury Norov wrote: > > > > From: Alexander Lobakin > > > > MIPS doesn't have architecture-optimized bitsearching functions, > > like find_{first,next}_bit() etc. > Emm, I think MIPS can

Re: [PATCH 2/2] MIPS: enable GENERIC_FIND_FIRST_BIT

2021-02-25 Thread Huacai Chen
Hi, Yury, On Thu, Feb 25, 2021 at 9:59 PM Yury Norov wrote: > > From: Alexander Lobakin > > MIPS doesn't have architecture-optimized bitsearching functions, > like find_{first,next}_bit() etc. Emm, I think MIPS can use clo/clz to optimize bitsearching functions. Huacai > It's absolutely

[PATCH 2/2] MIPS: enable GENERIC_FIND_FIRST_BIT

2021-02-25 Thread Yury Norov
From: Alexander Lobakin MIPS doesn't have architecture-optimized bitsearching functions, like find_{first,next}_bit() etc. It's absolutely harmless to enable GENERIC_FIND_FIRST_BIT as this functionality is not new at all and well-tested. It provides more optimized code and saves some .text