]> 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)
commit0401e674741e180a8b94538f01310eb9c9a2be89
tree1748b3171ab5cf1ada0c0bbeef285352c37edfcd
parent342419252fd7595286dab0108bcdd9eda3a7b494
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