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] [thread-next>] [day] [month] [year] [list]
Message-ID: <c8be3663-42db-4c8e-cb5c-b7f28aaefc04@gentwo.org>
Date: Tue, 21 Oct 2025 10:31:38 -0700 (PDT)
From: "Christoph Lameter (Ampere)" <cl@...two.org>
To: Ankur Arora <ankur.a.arora@...cle.com>
cc: linux-kernel@...r.kernel.org, linux-arch@...r.kernel.org, 
    linux-arm-kernel@...ts.infradead.org, bpf@...r.kernel.org, arnd@...db.de, 
    catalin.marinas@....com, will@...nel.org, peterz@...radead.org, 
    akpm@...ux-foundation.org, mark.rutland@....com, harisokn@...zon.com, 
    ast@...nel.org, rafael@...nel.org, daniel.lezcano@...aro.org, 
    memxor@...il.com, zhenglifeng1@...wei.com, xueshuai@...ux.alibaba.com, 
    joao.m.martins@...cle.com, boris.ostrovsky@...cle.com, 
    konrad.wilk@...cle.com
Subject: Re: [PATCH v7 2/7] arm64: barrier: Support
 smp_cond_load_relaxed_timeout()

On Thu, 16 Oct 2025, Ankur Arora wrote:

> +#define SMP_TIMEOUT_POLL_COUNT	1

A way to disable the spinning in the core code and thus arm64 wont spin
there anymore. Good.

Spinning is bad and a waste of cpu resources. If this is done then I
would like the arch code to implement the spinning and not the core so
that there is a motivation for the arch maintainer to
come up with a way to avoid the spinning at some point.

The patch is ok as is.

Reviewed-by: Christoph Lameter (Ampere) <cl@...two.org>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ