Skip to content

vdso support for s390

Martin Schwidefsky linux-arch linux-s390 lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2arch_setup_additional_pages argumentsarch/powerpc/include/asm/elf.h arch/powerpc/kernel/vdso.c arch/sh/include/asm/elf.h +5 more+8 -100 replies
2/2introduce vdso on s390arch/s390/Kconfig arch/s390/include/asm/auxvec.h arch/s390/include/asm/elf.h +21 more+1217 -22 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch 0/2] vdso support for s390

Greetings,
the two patches in this series add a vdso to s390 for three system calls:
1) gettimeofday
2) clock_getres for CLOCK_REALTIME and CLOCK_MONOTONIC
3) clock_gettime for CLOCK_REALTIME and CLOCK_MONOTONIC
The vdso code for gettimeofday is about 4-5 times faster than the system call. Similar results for clock_gettime.

The first of the two patches changes the arch_setup_additional_pages function. The second argument is unused and can be removed. For the s390 vdso I want to know if the elf executable is dynamically linked or not. Only if an interpreter is used the vdso is mapped. This adds a second argument to arch_setup_additional_pages again but with a different semantic.

Signature · 4 lines
blue skies,
   Martin.

"Reality continues to ruin my life." - Calvin.