]> git.karo-electronics.de Git - karo-tx-linux.git/commit
s390/uaccess: provide inline variants of get_user/put_user
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 17 Apr 2014 12:16:03 +0000 (14:16 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 5 May 2014 13:09:58 +0000 (15:09 +0200)
commitf9b0a8065503429b35747f6950b13b0cb5f08c9f
treedf24e728db30ab2a8820cae9bdb607c56ebc4490
parent164739eff3f935e18167c235ffd8f6a44f1a4cd5
s390/uaccess: provide inline variants of get_user/put_user

This shortens the code by ~17k (performace_defconfig, march=z196).
The number of exception table entries however increases from 164
entries to 2500 entries (+~18k).
However the executed code is shorter and also faster since we save
the branches to the out-of-line copy_to/from_user implementations.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/uaccess.h