projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aec0a51
)
make might_sleep() display the oopsing process
author
Joe Korty
<joe.korty@ccur.com>
Wed, 27 Aug 2008 15:21:39 +0000
(11:21 -0400)
committer
Ingo Molnar
<mingo@elte.hu>
Thu, 28 Aug 2008 09:36:02 +0000
(11:36 +0200)
Expand might_sleep's printk to indicate the oopsing process.
Signed-off-by: Joe Korty <joe.korty@ccur.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/sched.c
b/kernel/sched.c
index 93f5ea08be972f7e53f34ed9c84079f2ca18aa6d..6e283dc7679aa93a1b653a157144fb4d1d5f02af 100644
(file)
--- a/
kernel/sched.c
+++ b/
kernel/sched.c
@@
-8233,8
+8233,8
@@
void __might_sleep(char *file, int line)
prev_jiffy = jiffies;
printk(KERN_ERR "BUG: sleeping function called from invalid"
" context at %s:%d\n", file, line);
- printk("in_atomic():%d, irqs_disabled():%d\n",
- in_atomic(), irqs_disabled());
+ printk("in_atomic():%d, irqs_disabled():%d
, pid: %d, name: %s
\n",
+ in_atomic(), irqs_disabled()
, current->pid, current->comm
);
debug_show_held_locks(current);
if (irqs_disabled())
print_irqtrace_events(current);
This page took
0.028865 seconds
and
5
git commands to generate.