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: <23aca480075a8efc307c9aa07ff62f0f39bbee4e.camel@amazon.com>
Date: Wed, 3 Sep 2025 15:56:38 +0000
From: "Okanovic, Haris" <harisokn@...zon.com>
To: "catalin.marinas@....com" <catalin.marinas@....com>,
	"ankur.a.arora@...cle.com" <ankur.a.arora@...cle.com>
CC: "joao.m.martins@...cle.com" <joao.m.martins@...cle.com>,
	"xueshuai@...ux.alibaba.com" <xueshuai@...ux.alibaba.com>,
	"boris.ostrovsky@...cle.com" <boris.ostrovsky@...cle.com>, "memxor@...il.com"
	<memxor@...il.com>, "zhenglifeng1@...wei.com" <zhenglifeng1@...wei.com>,
	"konrad.wilk@...cle.com" <konrad.wilk@...cle.com>, "cl@...two.org"
	<cl@...two.org>, "akpm@...ux-foundation.org" <akpm@...ux-foundation.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"ast@...nel.org" <ast@...nel.org>, "linux-arch@...r.kernel.org"
	<linux-arch@...r.kernel.org>, "arnd@...db.de" <arnd@...db.de>,
	"will@...nel.org" <will@...nel.org>, "mark.rutland@....com"
	<mark.rutland@....com>, "peterz@...radead.org" <peterz@...radead.org>,
	"bpf@...r.kernel.org" <bpf@...r.kernel.org>,
	"linux-arm-kernel@...ts.infradead.org"
	<linux-arm-kernel@...ts.infradead.org>, "Okanovic, Haris"
	<harisokn@...zon.com>
Subject: Re: [PATCH v4 0/5] barrier: Add smp_cond_load_*_timewait()

On Mon, 2025-09-01 at 12:49 +0100, Catalin Marinas wrote:
> CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe.
> 
> 
> 
> On Fri, Aug 29, 2025 at 01:07:30AM -0700, Ankur Arora wrote:
> > Ankur Arora (5):
> >   asm-generic: barrier: Add smp_cond_load_relaxed_timewait()
> >   arm64: barrier: Add smp_cond_load_relaxed_timewait()
> >   arm64: rqspinlock: Remove private copy of
> >     smp_cond_load_acquire_timewait
> >   asm-generic: barrier: Add smp_cond_load_acquire_timewait()
> >   rqspinlock: use smp_cond_load_acquire_timewait()
> 
> Can you have a go at poll_idle() to see how it would look like using
> this API? It doesn't necessarily mean we have to merge them all at once
> but it gives us a better idea of the suitability of the interface.

This is what I tested on ARM on Fri:

https://github.com/harisokanovic/linux/blob/37e02b950c99370466e7385e5e754bbd6232ef95/drivers/cpuidle/poll_state.c#L24

Regards,
Haris Okanovic
AWS Graviton Software

> 
> --
> Catalin

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ