From: Heiko Carstens Date: Tue, 10 Sep 2013 13:35:39 +0000 (+0200) Subject: s390/bitops: make use of interlocked-access facility 1 instructions X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~58^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e344e52c7c6d6ab277daa83211972f801af2f9af;p=pandora-kernel.git 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 Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed