]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit616498813b11ffefe1ed36b9f2e4fd2cdbd22f15
tree1748b3171ab5cf1ada0c0bbeef285352c37edfcd
parentdc7ee00d4771b3218b10e09e1071ee6eb176d381
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