mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: [PATCH bpf-next v4 0/3] bpf, x86: Support fetching AND/OR/XOR atomics in arena
       [not found] <20261014125017.1426212-1-puranjay@kernel.org>
@ 2026-10-15 17:06 ` Tejun Heo
  0 siblings, 0 replies; only message in thread
From: Tejun Heo @ 2026-10-15 17:06 UTC (permalink / raw)
  To: Puranjay Mohan
  Cc: bpf, Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko,
	Martin KaFai Lau, Eduard Zingerman, Kumar Kartikeya Dwivedi,
	Song Liu, Yonghong Song, David Vernet, Andrea Righi,
	Changwoo Min, sched-ext, linux-kernel

Hello, Puranjay.

On Wed, Oct 14, 2026 at 05:50:10AM -0700, Puranjay Mohan wrote:
> A fetching AND/OR/XOR against arena memory is rejected on x86-64:
>
>   BPF_ATOMIC stores into R1 arena is not allowed

- 1/3: A fetching atomic through a number now fails to load with an
  empty verifier log, where it used to get the message above. That
  seems problematic. Can that case keep an error message?
- 3/3: sched_ext/for-7.4 already synced a cid.bpf.h from scx which
  probes for the fetching atomics and keeps the CAS loop as the
  old-kernel fallback, so this conflicts with it. I'll pull
  bpf/for-next into sched_ext/for-7.4 and we can do the modifications
  on top.

For 1/3 and 2/3,

Acked-by: Tejun Heo <tj@kernel.org>

Thanks.

-- 
tejun

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-15 17:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20261014125017.1426212-1-puranjay@kernel.org>
2026-10-15 17:06 ` [PATCH bpf-next v4 0/3] bpf, x86: Support fetching AND/OR/XOR atomics in arena Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®