On Mon, Aug 17, 2026 at 12:16:11PM +0100, Christian Loehle wrote:
> Syscall User Dispatch is unavailable on architectures without generic
> syscall entry. On such architectures, sud_benchmark spends several
> seconds calibrating before its SUD prctl fails with EINVAL.
>
> Probe SUD with a valid disabled configuration before calibration and skip
> when the kernel returns EINVAL. Treat other probe errors as failures and
> continue to run the benchmark unchanged on supported kernels.
>
> Fixes: d87ae0fa21c2 ("selftests: Add benchmark for syscall user dispatch")
> Signed-off-by: Christian Loehle <[email protected]>
Reviewed-by: Gregory Price (Meta) <[email protected]>