linux/arch
Roland McGrath 85ba2d862e tracehook: wait_task_inactive
This extends wait_task_inactive() with a new argument so it can be used in
a "soft" mode where it will check for the task changing state unexpectedly
and back off.  There is no change to existing callers.  This lays the
groundwork to allow robust, noninvasive tracing that can try to sample a
blocked thread but back off safely if it wakes up.

Signed-off-by: Roland McGrath <roland@redhat.com>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Reviewed-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-07-26 12:00:09 -07:00
..
alpha inflate: refactor inflate malloc code 2008-07-25 10:53:28 -07:00
arm SL*B: drop kmem cache argument from constructor 2008-07-26 12:00:07 -07:00
avr32 gpiolib: allow user-selection 2008-07-25 10:53:30 -07:00
blackfin Merge branch 'timers-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2008-07-24 12:55:01 -07:00
cris cris: use the common ascii hex helpers 2008-07-26 12:00:05 -07:00
frv frv: use the common ascii hex helpers 2008-07-26 12:00:05 -07:00
h8300 pty: remove unused UNIX98_PTY_COUNT options 2008-07-25 10:53:42 -07:00
ia64 tracehook: wait_task_inactive 2008-07-26 12:00:09 -07:00
m32r inflate: refactor inflate malloc code 2008-07-25 10:53:28 -07:00
m68k PAGE_ALIGN(): correctly handle 64-bit values on 32-bit architectures 2008-07-24 10:47:21 -07:00
m68knommu Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu 2008-07-24 12:17:19 -07:00
mips dma-mapping: add the device argument to dma_mapping_error() 2008-07-26 12:00:03 -07:00
mn10300 mn10300: use the common ascii hex helpers 2008-07-26 12:00:05 -07:00
parisc flag parameters: pipe 2008-07-24 10:47:28 -07:00
powerpc SL*B: drop kmem cache argument from constructor 2008-07-26 12:00:07 -07:00
s390 S390 topology: don't use kthread() for arch_reinit_sched_domains() 2008-07-25 10:53:40 -07:00
sh SL*B: drop kmem cache argument from constructor 2008-07-26 12:00:07 -07:00
sparc Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6 2008-07-25 17:33:34 -07:00
sparc64 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6 2008-07-25 17:33:34 -07:00
um Merge branch 'timers-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2008-07-24 12:55:01 -07:00
x86 tracehook: exec 2008-07-26 12:00:08 -07:00
xtensa SL*B: drop kmem cache argument from constructor 2008-07-26 12:00:07 -07:00
.gitignore
Kconfig tracehook: CONFIG_HAVE_ARCH_TRACEHOOK 2008-07-26 12:00:09 -07:00