On Wed, 02 Oct 2024 10:39:28 +0200, Christophe Leroy wrote: > The page containing VDSO time data is swapped with the one containing > TIME namespace data when a process uses a non-root time namespace. > For other data like powerpc specific data and RNG data, it means > tracking whether time namespace is the root one or not to know which > page to use. > > Simplify the logic behind by moving time data out of first data page > so that the first data page which contains everything else always > remains the first page. Time data is in the second or third page > depending on selected time namespace. > > [...]
Applied to powerpc/next. [1/2] powerpc/vdso: Add a page for non-time data https://git.kernel.org/powerpc/c/c39b1dcf055d420a498d1047c645b776e4d1a7aa [2/2] powerpc/vdso: Implement __arch_get_vdso_rng_data() https://git.kernel.org/powerpc/c/4e3fa1aecb2c1f128f7289272fe2947e4396f1ce cheers