linux/arch/blackfin/kernel
Anton Vorontsov af1be5a578 blackfin: fix possible deadlock in decode_address()
Oleg Nesterov found an interesting deadlock possibility:

> sysrq_showregs_othercpus() does smp_call_function(showacpu)
> and showacpu() show_stack()->decode_address(). Now suppose that IPI
> interrupts the task holding read_lock(tasklist).

To fix this, blackfin should not grab the write_ variant of the
tasklist lock, read_ one is enough.

Suggested-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Cc: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-05-31 17:49:30 -07:00
..
cplb-mpu blackfin: cplb-mpu: fix page mask table overflow 2012-03-21 11:00:06 +08:00
cplb-nompu blackfin: cplb: add support for bf60x 2012-05-21 14:54:16 +08:00
.gitignore Blackfin: ignore generated vmlinux.lds 2009-05-27 00:27:03 -04:00
Makefile blackfin: Use generic init_task 2012-05-05 13:00:22 +02:00
asm-offsets.c Disintegrate asm/system.h for Blackfin [ver #2] 2012-03-21 11:00:08 +08:00
bfin_dma.c bfin_dma: fix initcall return error in proc_dma_init() 2012-05-21 14:54:40 +08:00
bfin_gpio.c bfin_gpio: fix bf548-ezkit kernel fail to boot 2012-05-21 14:54:41 +08:00
bfin_ksyms.c Blackfin: move internal irq prototypes out of global namespace 2011-05-25 08:13:43 -04:00
cplbinfo.c Blackfin: cplbinfo: drop d_path() hacks 2009-10-07 04:48:04 -04:00
debug-mmrs.c blackfin: add bf60x to current framework 2012-05-21 14:54:12 +08:00
dma-mapping.c blackfin: Add export.h to files using EXPORT_SYMBOL/THIS_MODULE 2011-10-31 19:31:01 -04:00
dumpstack.c Blackfin: make hardware trace output a little more useful 2010-05-21 09:40:19 -04:00
early_printk.c Blackfin: mass clean up of copyright/licensing info 2009-10-07 04:36:26 -04:00
entry.S Blackfin: delete fork func 2012-05-21 14:54:39 +08:00
exception.c Blackfin: split kernel/traps.c 2010-05-21 09:40:17 -04:00
fixed_code.S Blackfin: mass clean up of copyright/licensing info 2009-10-07 04:36:26 -04:00
flat.c Blackfin: mass clean up of copyright/licensing info 2009-10-07 04:36:26 -04:00
ftrace-entry.S Blackfin: add support for dynamic ftrace 2010-08-06 12:55:54 -04:00
ftrace.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
gptimers.c blackfin: bf60x: fix compiling warning 2012-05-21 14:54:26 +08:00
ipipe.c Disintegrate asm/system.h for Blackfin [ver #2] 2012-03-21 11:00:08 +08:00
irqchip.c Blackfin: move internal irq prototypes out of global namespace 2011-05-25 08:13:43 -04:00
kgdb.c Fix common misspellings 2011-03-31 11:26:23 -03:00
kgdb_test.c Disintegrate asm/system.h for Blackfin [ver #2] 2012-03-21 11:00:08 +08:00
module.c modules: make arch's use default loader hooks 2011-07-24 22:06:04 +09:30
nmi.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
perf_event.c blackfin: Add export.h to files using EXPORT_SYMBOL/THIS_MODULE 2011-10-31 19:31:01 -04:00
process.c blackfin: add bf60x to current framework 2012-05-21 14:54:12 +08:00
pseudodbg.c Blackfin: show the whole accumulator in the pseudo DBG insn 2010-05-22 14:19:06 -04:00
ptrace.c Disintegrate asm/system.h for Blackfin [ver #2] 2012-03-21 11:00:08 +08:00
pwm.c Blackfin: pwm: implement linux/pwm.h API 2011-07-23 01:18:23 -04:00
reboot.c blackfin: add bf60x to current framework 2012-05-21 14:54:12 +08:00
setup.c blackfin: fix build after add bf60x mach/pm.h 2012-05-21 14:55:07 +08:00
shadow_console.c blackfin: add bf60x to current framework 2012-05-21 14:54:12 +08:00
signal.c blackfin: don't open-code force_sigsegv() 2012-05-21 23:58:33 -04:00
stacktrace.c Blackfin: add preliminary support for STACKTRACE 2009-06-13 07:20:14 -04:00
sys_bfin.c blackfin: Add export.h to files using EXPORT_SYMBOL/THIS_MODULE 2011-10-31 19:31:01 -04:00
time-ts.c blackfin: bf60x: enable gptimer clock source 2012-05-21 14:54:20 +08:00
time.c Blackfin: irq: remove IRQF_DISABLED 2011-10-26 04:22:26 -04:00
trace.c blackfin: fix possible deadlock in decode_address() 2012-05-31 17:49:30 -07:00
traps.c Disintegrate asm/system.h for Blackfin [ver #2] 2012-03-21 11:00:08 +08:00
vmlinux.lds.S Blackfin: make sure percpu section is aligned in XIP builds 2011-07-23 01:18:22 -04:00