kernel-fxtec-pro1x/include
Al Viro 9fc658763b [PATCH] missing helper - task_stack_page()
Patchset annotates arch/* uses of ->thread_info.  Ones that really are about
access of thread_info of given process are simply switched to
task_thread_info(task); ones that deal with access to objects on stack are
switched to new helper - task_stack_page().  A _lot_ of the latter are
actually open-coded instances of "find where pt_regs are"; those are
consolidated into task_pt_regs(task) (many architectures actually have such
helper already).

Note that these annotations are not mandatory - any code not converted to
these helpers still works.  However, they clean up a lot of places and have
actually caught a number of bugs, so converting out of tree ports would be a
good idea...

As an example of breakage caught by that stuff, see i386 pt_regs mess - we
used to have it open-coded in a bunch of places and when back in April Stas
had fixed a bug in copy_thread(), the rest had been left out of sync.  That
required two followup patches (the latest - just before 2.6.15) _and_ still
had left /proc/*/stat eip field broken.  Try ps -eo eip on i386 and watch the
junk...

This patch:

new helper - task_stack_page(task).  Returns pointer to the memory object
containing task stack; usually thread_info of task sits in the beginning
of that object.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-01-12 09:08:50 -08:00
..
acpi
asm-alpha [PATCH] sched: add cacheflush() asm 2006-01-12 09:08:49 -08:00
asm-arm [PATCH] sched: add cacheflush() asm 2006-01-12 09:08:49 -08:00
asm-arm26 [PATCH] sched: add cacheflush() asm 2006-01-12 09:08:49 -08:00
asm-cris [PATCH] Generic ioctl.h 2006-01-10 08:01:34 -08:00
asm-frv [PATCH] Generic ioctl.h 2006-01-10 08:01:34 -08:00
asm-generic Fix mutex_trylock() copy-and-paste bug (x86, x86-64, generic mutex-dec.h) 2006-01-11 15:50:47 -08:00
asm-h8300 [PATCH] include/asm-h8300/page.h: remove unused KTHREAD_SIZE #define 2006-01-11 18:42:09 -08:00
asm-i386 [PATCH] scheduler cache-hot-autodetect 2006-01-12 09:08:50 -08:00
asm-ia64 [PATCH] scheduler cache-hot-autodetect 2006-01-12 09:08:50 -08:00
asm-m32r [PATCH] sched: add cacheflush() asm 2006-01-12 09:08:49 -08:00
asm-m68k [PATCH] missing helper - task_stack_page() 2006-01-12 09:08:50 -08:00
asm-m68knommu [PATCH] m68knommu: save reg a5 on context change 2006-01-10 09:31:27 -08:00
asm-mips [PATCH] scheduler cache-hot-autodetect 2006-01-12 09:08:50 -08:00
asm-parisc [PATCH] sched: add cacheflush() asm 2006-01-12 09:08:49 -08:00
asm-powerpc [PATCH] scheduler cache-hot-autodetect 2006-01-12 09:08:50 -08:00
asm-ppc [PATCH] sched: add cacheflush() asm 2006-01-12 09:08:49 -08:00
asm-s390 [PATCH] sched: add cacheflush() asm 2006-01-12 09:08:49 -08:00
asm-sh [PATCH] sched: add cacheflush() asm 2006-01-12 09:08:49 -08:00
asm-sh64 [PATCH] include/asm-sh64/: "extern inline" -> "static inline" 2006-01-10 08:02:02 -08:00
asm-sparc [PATCH] sched: add cacheflush() asm 2006-01-12 09:08:49 -08:00
asm-sparc64 [PATCH] sched: add cacheflush() asm 2006-01-12 09:08:49 -08:00
asm-um [PATCH] dump_thread() cleanup 2006-01-10 08:01:25 -08:00
asm-v850 [PATCH] Generic ioctl.h 2006-01-10 08:01:34 -08:00
asm-x86_64 [PATCH] scheduler cache-hot-autodetect 2006-01-12 09:08:50 -08:00
asm-xtensa [PATCH] Generic ioctl.h 2006-01-10 08:01:34 -08:00
keys
linux [PATCH] missing helper - task_stack_page() 2006-01-12 09:08:50 -08:00
math-emu
media V4L/DVB (3347): Fixes some bad global variables 2006-01-11 20:26:13 -02:00
mtd
net [INET]: congestion and af_ops can be const 2006-01-10 12:54:26 -08:00
pcmcia
rdma
rxrpc
scsi Merge branch 'post-2.6.15' of git://brick.kernel.dk/data/git/linux-2.6-block 2006-01-06 09:01:25 -08:00
sound [PATCH] DocBook: fix kernel-doc comments 2006-01-10 08:01:53 -08:00
video [PATCH] include/video/newport.h: "extern inline" -> "static inline" 2006-01-10 08:01:50 -08:00