diff options
author | Satyam Sharma <satyam@infradead.org> | 2007-10-24 12:23:50 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2007-10-24 12:23:50 -0400 |
commit | 838225b48edc971620cbeb292034dabd2b0d7d1d (patch) | |
tree | c4248521fead10f50f4539b6859339aeeef118d7 /Documentation | |
parent | 4dcf6aff023d9934630fb3649284951831c51f8f (diff) |
sched: use show_regs() to improve __schedule_bug() output
A full register dump along with stack backtrace would make the
"scheduling while atomic" message more helpful. Use show_regs() instead
of dump_stack() for this. We already know we're atomic in here (that is
why this function was called) so show_regs()'s atomicity expectations
are guaranteed.
Also, modify the output of the "BUG: scheduling while atomic:" header a
bit to keep task->comm and task->pid together and preempt_count() after
them.
Signed-off-by: Satyam Sharma <satyam@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions