]> git.neil.brown.name Git - history.git/commit
[ARM] Context switch improvements
authorRussell King <rmk@flint.arm.linux.org.uk>
Wed, 29 May 2002 17:06:54 +0000 (18:06 +0100)
committerRussell King <rmk@flint.arm.linux.org.uk>
Wed, 29 May 2002 17:06:54 +0000 (18:06 +0100)
commit415395e19fd197ce4f248902dba54f4065af547c
treee1c8c080ac83c3ca26aac461a444c8eb4ea6a18b
parentbaa522c86b6f08c9bdab5a966a8726a7a5f665c2
[ARM] Context switch improvements
 - We don't need to save the CPSR.
 - Rearrange thread_info members so we can pull the fields out of
   thread_info more efficiently.
 - Allocate a couple of extra words for CPU specific context saving
   (eg, for Xscale ACC registers)
 - Always leave 8 bytes free at the top of the kernel stack.  This
   prevents the stack becoming completely empty when do_exit() is
   called from an exiting nfsd() thread, and causing the wrong
   pointer to be returned from current_thread_info()
arch/arm/kernel/entry-armv.S
arch/arm/kernel/process.c
include/asm-arm/proc-armo/processor.h
include/asm-arm/proc-armv/processor.h
include/asm-arm/thread_info.h