aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/Makefile
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2013-09-10 15:35:39 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2013-10-24 17:16:44 +0200
commite344e52c7c6d6ab277daa83211972f801af2f9af (patch)
treec54a58bdbf4bd586668e288dda2163ebf899a83c /arch/s390/Makefile
parentMerge tag 'md/3.12-fixes' of git://neil.brown.name/md (diff)
downloadlinux-dev-e344e52c7c6d6ab277daa83211972f801af2f9af.tar.xz
linux-dev-e344e52c7c6d6ab277daa83211972f801af2f9af.zip
s390/bitops: make use of interlocked-access facility 1 instructions
Make use of the interlocked-access facility 1 that got added with the z196 architecure. This facilility added new instructions which can atomically update a storage location without a compare-and-swap loop. E.g. setting a bit within a "long" can be done with a single instruction. The size of the kernel image gets ~30kb smaller. Considering that there are appr. 1900 bitops call sites this means that each one saves about 15-16 bytes per call site which is expected. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/Makefile')
0 files changed, 0 insertions, 0 deletions