lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZW5MI3rKQueLM0Bz@yury-ThinkPad>
Date:   Mon, 4 Dec 2023 14:01:07 -0800
From:   Yury Norov <yury.norov@...il.com>
To:     Thomas Gleixner <tglx@...utronix.de>, linux-kernel@...r.kernel.org
Cc:     Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
        Rasmus Villemoes <linux@...musvillemoes.dk>
Subject: Re: [PATCH 0/4] lib/group_cpus: rework grp_spread_init_one() and
 make it O(1)

Ping?

On Wed, Nov 01, 2023 at 03:58:16PM -0700, Yury Norov wrote:
> grp_spread_init_one() implementation is sub-optimal now because it
> traverses bitmaps from the beginning, instead of picking from the
> previous iteration.
> 
> Fix it and use find_bit API where appropriate.
> 
> Yury Norov (4):
>   cpumask: introduce for_each_cpu_and_from()
>   lib/group_cpus: relax atomicity requirement in grp_spread_init_one()
>   lib/group_cpus: optimize inner loop in grp_spread_init_one()
>   lib/group_cpus: optimize outer loop in grp_spread_init_one()
> 
>  include/linux/cpumask.h | 11 +++++++++++
>  include/linux/find.h    |  3 +++
>  lib/group_cpus.c        | 29 ++++++++++++-----------------
>  3 files changed, 26 insertions(+), 17 deletions(-)
> 
> -- 
> 2.39.2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ