linux/arch
Al Viro bfd170d565 arm: optimized current_pt_regs()
... no need to read current_thread_info()->task only to
feed it to task_thread_page() immediately afterwards.
Moreover, not using current_thread_info() at all ends
up with better assembler - we need a location very close
to the top of kernel stack page and it's actually better
to do or with 0x1fff, followed be subtracting a small
constant than and with ~0x1fff, followed by adding a large
one.  Both & and | would be a couple of insns (mvn lsr/mvn lsl
for |, a pair of bic for &), but the following addition
would cost a pair of add while the subtraction ends up
as a single sub.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-09-30 22:21:37 -04:00
..
alpha get rid of generic instances of asm/exec.h 2012-09-20 09:51:02 -04:00
arm arm: optimized current_pt_regs() 2012-09-30 22:21:37 -04:00
avr32 get rid of generic instances of asm/exec.h 2012-09-20 09:51:02 -04:00
blackfin Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lliubbo/blackfin 2012-09-12 07:12:53 +08:00
c6x get rid of generic instances of asm/exec.h 2012-09-20 09:51:02 -04:00
cris get rid of generic instances of asm/exec.h 2012-09-20 09:51:02 -04:00
frv get rid of generic instances of asm/exec.h 2012-09-20 09:51:02 -04:00
h8300 get rid of generic instances of asm/exec.h 2012-09-20 09:51:02 -04:00
hexagon don't bother exporting kernel_execve() 2012-09-20 09:51:28 -04:00
ia64 get rid of generic instances of asm/exec.h 2012-09-20 09:51:02 -04:00
m32r get rid of generic instances of asm/exec.h 2012-09-20 09:51:02 -04:00
m68k get rid of generic instances of asm/exec.h 2012-09-20 09:51:02 -04:00
microblaze get rid of generic instances of asm/exec.h 2012-09-20 09:51:02 -04:00
mips MIPS: pci-ar724x: avoid data bus error due to a missing PCIe module 2012-08-23 15:44:47 +02:00
mn10300 get rid of generic instances of asm/exec.h 2012-09-20 09:51:02 -04:00
openrisc Remove useless wrappers of asm-generic/rmap.h 2012-06-28 11:29:26 +02:00
parisc get rid of generic instances of asm/exec.h 2012-09-20 09:51:02 -04:00
powerpc powerpc: Don't use __put_user() in patch_instruction 2012-09-05 16:05:23 +10:00
s390 Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2012-09-14 17:43:45 -07:00
score new helper: signal_delivered() 2012-06-01 12:58:52 -04:00
sh get rid of generic instances of asm/exec.h 2012-09-20 09:51:02 -04:00
sparc get rid of generic instances of asm/exec.h 2012-09-20 09:51:02 -04:00
tile get rid of generic instances of asm/exec.h 2012-09-20 09:51:02 -04:00
um um: kill thread->forking 2012-09-20 10:49:09 -04:00
unicore32 don't bother exporting kernel_execve() 2012-09-20 09:51:28 -04:00
x86 um: kill thread->forking 2012-09-20 10:49:09 -04:00
xtensa get rid of generic instances of asm/exec.h 2012-09-20 09:51:02 -04:00
.gitignore
Kconfig preparation for generic kernel_thread() 2012-09-30 13:35:55 -04:00