]> git.karo-electronics.de Git - karo-tx-linux.git/commit
s390/cio: Change I/O instructions from inline to normal functions
authorPeter Oberparleiter <oberpar@linux.vnet.ibm.com>
Fri, 18 Dec 2015 11:59:40 +0000 (12:59 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 18 Dec 2015 13:59:37 +0000 (14:59 +0100)
commit11b64c8acca05d7e50a873e0e8758b75d6d6650f
tree90d2c2012ec94000c8041900e23253dc851f90b0
parent42248979d5705e056b509cdcfb548e40f708cba8
s390/cio: Change I/O instructions from inline to normal functions

Adding tracepoints to inline functions adds tracepoint invocation code
for each instance where the function is inlined. The resulting increase
in kernel code size can have negative impact:
 - More cache misses in instruction cache
 - Reduced amount of DMA-capable memory

Therefore change all functions implementing I/O instructions from inline
to normal functions.

Bloat-o-meter summary after change (using performance_defconfig):

  add/remove: 24/2 grow/shrink: 4/39 up/down: 2205/-4858 (-2653)

Signed-off-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/Makefile
drivers/s390/cio/ioasm.c [new file with mode: 0644]
drivers/s390/cio/ioasm.h