commit | 0fc11e3618bb1f9e0640127ec84f5d2690fa3894 | [log] [tgz] |
---|---|---|
author | Paul Mundt <lethal@linux-sh.org> | Fri Aug 14 23:58:37 2009 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Fri Aug 14 23:58:37 2009 +0900 |
tree | 574050acc37269c5f7925cdd5d63a0714242102e | |
parent | 718dbf376ac39b8f8c974e9162430754dbace742 [diff] |
sh: unwinder: Convert frame allocations to GFP_ATOMIC. save_stack_trace_tsk() and friends can be called from atomic context (as triggered by latencytop), and subsequently hit two problematic allocation points that were using GFP_KERNEL (these were dwarf_unwind_stack() and dwarf_frame_alloc_regs()). Convert these over to GFP_ATOMIC and get latencytop working with the DWARF unwinder. Signed-off-by: Paul Mundt <lethal@linux-sh.org>