On Mon, 5 Aug 2024 at 16:25, Nicholas Piggin <npiggin@xxxxxxxxx> wrote: > > Can userspace on other archs not unmap their vdsos? I think they can, and nobody cares. The "context.vdso" value stays at some stale value, and anybody who tries to use it will just fail. So what makes powerpc special is not "you can unmap the vdso", but "powerpc cares". I just don't quite know _why_ powerpc cares. Judging by the comments and a quick 'grep', the reason may be arch/powerpc/perf/callchain_32.c which seems to have some vdso knowledge. But x86 does something kind of like that at signal frame generation time, and doesn't care. I really think it's an issue of "if you screw with the vdso, you get to keep both broken pieces". Linus