ce0ee4e6ac
Today the sh code allocates memory the first time a process uses
the fpu. If that memory allocation fails, kill the affected task
with force_sig(SIGKILL) rather than do_group_exit(SIGKILL).
Calling do_group_exit from an exception handler can potentially lead
to dead locks as do_group_exit is not designed to be called from
interrupt context. Instead use force_sig(SIGKILL) to kill the
userspace process. Sending signals in general and force_sig in
particular has been tested from interrupt context so there should be
no problems.
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Rich Felker <dalias@libc.org>
Cc: linux-sh@vger.kernel.org
Fixes:
|
||
---|---|---|
.. | ||
irq | ||
sh2 | ||
sh2a | ||
sh3 | ||
sh4 | ||
sh4a | ||
shmobile | ||
adc.c | ||
clock-cpg.c | ||
clock.c | ||
fpu.c | ||
init.c | ||
Makefile | ||
pfc.c | ||
proc.c |