From: Satyam Sharma Date: Wed, 24 Oct 2007 16:23:50 +0000 (+0200) Subject: sched: use show_regs() to improve __schedule_bug() output X-Git-Tag: v2.6.24-rc2~145^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=838225b48edc971620cbeb292034dabd2b0d7d1d;p=pandora-kernel.git 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 Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed