Re: [PATCH 0/3] riscv: alternative: Statically compute alternative section boundaries and patch compat vDSO

From: Paul Walmsley

Date: Thu Aug 06 2026 - 21:25:03 EST


On Tue, 30 Jun 2026, Thomas Weißschuh wrote:

> Currently the alternative sections are extracted from the vDSO
> binaries at runtime. This has runtime overhead and also doesn't
> work for the compat vDSO.
>
> Extract the offsets of the alternative section during the build with the
> existing symbol extraction machinery and use those.
>
> Also add support for the compat vDSO.
>
> Link: https://lore.kernel.org/lkml/cover.1781876501.git.namcao@xxxxxxxxxxxxx/
> Signed-off-by: Thomas Weißschuh (Schneider Electric) <thomas.weissschuh@xxxxxxxxxxxxx>

Thanks, queued for v7.3.


- Paul