lkml.org 
[lkml]   [2022]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mips: micro-optimize calculate_cpu_foreign_map()
On Thu, Jun 30, 2022 at 07:59:04PM -0700, Yury Norov wrote:
> On Tue, Jun 21, 2022 at 07:47:29AM -0700, Yury Norov wrote:
> > The inner loop in calculate_cpu_foreign_map() walks the whole
> > cpumask to check if we have siblings for a given cpu.
> >
> > We can just break after a 1st match and avoid useless traversing
> > the rest of mask.
> >
> > Loongarch has an identical function, so fix it here as well.
> >
> > Signed-off-by: Yury Norov <yury.norov@gmail.com>
>
> Ping?

as this is touching two different archs, it would have been easier
to send this in two different patches.

Huacai, should I take the patch ?

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]

\
 
 \ /
  Last update: 2022-07-05 12:42    [W:0.050 / U:0.752 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site