projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
689ee95
)
Revert "sched: make task dump print all 15 chars of proc comm"
author
黄涛
<huangtao@rock-chips.com>
Sat, 30 Jul 2011 15:09:37 +0000
(23:09 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Sat, 30 Jul 2011 15:09:37 +0000
(23:09 +0800)
This reverts commit
604ad7390d7ba24330d7b36da522e3e65a21a4a9
.
kernel/sched.c
patch
|
blob
|
history
diff --git
a/kernel/sched.c
b/kernel/sched.c
index 9f11c6c784154725068fdbeee135c1d616eadf1b..4a8163f7eb58aa838600b52847821b79049a3dda 100644
(file)
--- a/
kernel/sched.c
+++ b/
kernel/sched.c
@@
-6877,7
+6877,7
@@
void sched_show_task(struct task_struct *p)
unsigned state;
state = p->state ? __ffs(p->state) + 1 : 0;
- printk(KERN_INFO "%-1
5.15
s %c", p->comm,
+ printk(KERN_INFO "%-1
3.13
s %c", p->comm,
state < sizeof(stat_nam) - 1 ? stat_nam[state] : '?');
#if BITS_PER_LONG == 32
if (state == TASK_RUNNING)