diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2013-10-21 07:57:41 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-10-24 17:17:13 +0200 |
commit | f84cd97e5c61fe3ce66af838dd955dee02076639 (patch) | |
tree | a3477ba33ab836d729b395741f80618ccfdab166 /arch/s390/configs | |
parent | 0702fbf572ac5e513873628bf534da4a8a2025b4 (diff) |
s390/percpu: make use of interlocked-access facility 1 instructions
Optimize this_cpu_* functions for 64 bit by making use of new instructions
that came with the interlocked-access facility 1 (load-and-*) and the
general-instructions-extension facility (asi, agsi).
That way we get rid of the compare-and-swap loop in most cases.
Code size reduction (defconfig, -march=z196): 11,555 bytes.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/configs')
0 files changed, 0 insertions, 0 deletions