* Satyam Sharma <[email protected]> wrote:
> BTW would something similar would be useful in __schedule_bug() too? I
> sure think so -- I'm not sure if EIP holds anything useful there, but
> CPU#, EFLAGS and the init_utsname() stuff would be definitely helpful
> ...
>
> [PATCH] 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.
thanks, applied.
Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]