Re: [linus:master] [mseal] 8be7258aad: stress-ng.pagemove.page_remaps_per_sec -4.4% regression
From: Linus Torvalds
Date: Mon Aug 05 2024 - 15:48:49 EST
On Mon, 5 Aug 2024 at 12:38, Jeff Xu <jeffxu@xxxxxxxxxx> wrote:
>
> I'm curious, why does ppc need to unmap vdso ? ( other archs don't
> have unmap logic.)
I have no idea. There are comments about 'perf' getting confused about
mmap counts when 'context.vdso' isn't set up.
But x86 has the same context.vdso logic, and does *not* set the
pointer before installing the vma, for example. Also does not zero it
out on munmap(), although it does have the mremap logic.
For all I know it may all be entirely unnecessary, and could be
removed entirely.
Linus