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

index 9f11c6c784154725068fdbeee135c1d616eadf1b..4a8163f7eb58aa838600b52847821b79049a3dda 100644 (file)
@@ -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 "%-15.15s %c", p->comm,
+       printk(KERN_INFO "%-13.13s %c", p->comm,
                state < sizeof(stat_nam) - 1 ? stat_nam[state] : '?');
 #if BITS_PER_LONG == 32
        if (state == TASK_RUNNING)