]> git.karo-electronics.de Git - linux-beck.git/commit
s390/vdso: replace stck with stcke
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 29 Aug 2014 10:44:40 +0000 (12:44 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 9 Sep 2014 06:53:27 +0000 (08:53 +0200)
commit070b7be633dc33c0899e8c934b4d5fad046b06e8
tree4aa06300e711c8079754745e34852ac12c4dbfbf
parent369e8c355383143964290b6a706eb6639ae3588c
s390/vdso: replace stck with stcke

If gettimeofday / clock_gettime are called multiple times in a row
the STCK instruction will stall until a difference in the result is
visible. This unnecessarily slows down the vdso calls, use stcke
instead of stck to get rid of the stall.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/vdso32/clock_gettime.S
arch/s390/kernel/vdso32/gettimeofday.S
arch/s390/kernel/vdso64/clock_gettime.S
arch/s390/kernel/vdso64/gettimeofday.S