]> git.baikalelectronics.ru Git - kernel.git/commit
s390: system call path micro optimization
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 24 Apr 2013 10:58:39 +0000 (12:58 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 26 Apr 2013 07:07:05 +0000 (09:07 +0200)
commitd6f09c0c57f18d56351eab0f24c3e5f3287b9bb0
tree1748b3171ab5cf1ada0c0bbeef285352c37edfcd
parente3902de9317ec6d8206dbe897acd3d6827126a87
s390: system call path micro optimization

Add a pointer to the system call table to the thread_info structure.
The TIF_31BIT bit is set or cleared by SET_PERSONALITY exactly once
for the lifetime of a process. With the pointer to the correct system
call table in thread_info the system call code in entry64.S path can
drop the check for TIF_31BIT which saves a couple of instructions.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/elf.h
arch/s390/include/asm/syscall.h
arch/s390/include/asm/thread_info.h
arch/s390/kernel/asm-offsets.c
arch/s390/kernel/entry.S
arch/s390/kernel/entry64.S