]> git.baikalelectronics.ru Git - kernel.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>
Tue, 20 May 2014 06:58:50 +0000 (08:58 +0200)
commit5b67943ceb485808e57669fa8b5856720e00d4e9
treee664bb4d8bdabcc0dd65732b6741d21260760dba
parent23634c62385e6353084a83f47fdf9ff873fb5bff
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