diff options
author | Gerald Schaefer <geraldsc@de.ibm.com> | 2006-12-04 15:40:45 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2006-12-04 15:40:45 +0100 |
commit | 59f35d53fde3987d071ea1c9bf1c9ba29fcb69fe (patch) | |
tree | 50853c1bf3ad3af080707fb2e6b3722d3d86db9e /arch/s390/kernel/traps.c | |
parent | [S390] Use diag260 for memory size detection. (diff) | |
download | linux-59f35d53fde3987d071ea1c9bf1c9ba29fcb69fe.tar.xz linux-59f35d53fde3987d071ea1c9bf1c9ba29fcb69fe.zip |
[S390] Add dynamic size check for usercopy functions.
Use a wrapper for copy_to/from_user to chose the best usercopy method.
The mvcos instruction is better for sizes greater than 256 bytes, if
mvcos is not available a page table walk is better for sizes greater
than 1024 bytes. Also removed the redundant copy_to/from_user_std_small
functions.
Signed-off-by: Gerald Schaefer <geraldsc@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/traps.c')
0 files changed, 0 insertions, 0 deletions