Thread (12 messages) 12 messages, 2 authors, 2025-09-30

Re: [PATCH 1/6] KVM: arm64: Add __gmem_abort and __user_mem_abort

From: Oliver Upton <hidden>
Date: 2025-09-11 18:27:47
Also in: kvmarm, linux-kselftest, lkml

Hi Jack,

On Thu, Sep 11, 2025 at 02:46:43PM +0100, Jack Thomson wrote:
From: Jack Thomson <redacted>

Adding __gmem_abort and __user_mem_abort that preserve -EAGAIN results.
These will be used by the pre-fault implementation which needs to retry
on -EAGAIN.
-EAGAIN is a pretty clear signal that another vCPU has faulted on this
memory and is in the middle of installing a mapping. Why bother with
retrying?

If we conceptually treat this thing as a synthetic stage-2 abort then it
should use the same EAGAIN handling as a literal stage-2 abort.

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