Thread (13 messages) 13 messages, 5 authors, 2026-06-08

Re: [PATCH bpf-next] bpf: Replace scratch PTE atomically when allocating arena pages

From: Tejun Heo <tj@kernel.org>
Date: 2026-06-02 22:09:13
Also in: bpf, linux-mm, lkml, sched-ext

On Mon, Jun 01, 2026 at 08:15:34PM +0000, bot+bpf-ci@kernel.org wrote:
After the real page is installed without a flush, can that stale
kaddr -> scratch_page translation persist, so that later kernel-side
accesses at kaddr reach the shared per-arena scratch page instead of
the freshly allocated page?
It can on x86, but it's harmless: that CPU faulted on an unallocated
address and got scratch-recovered, so reaching either the scratch or the
real page is fine. No flush needed.

Thanks.

--
tejun
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help