Commit fe0eee23 authored by Anton Blanchard's avatar Anton Blanchard Committed by Linus Torvalds

[PATCH] one of these things is not like the others...

Or in this case two.  This makes the migration and ksoftirq threads
match the naming convention of the workqueue threads.

Apply it and marvel at how neater a ps looks.
parent 444eb713
......@@ -2014,7 +2014,7 @@ static int migration_thread(void * data)
rq = this_rq();
rq->migration_thread = current;
sprintf(current->comm, "migration_CPU%d", smp_processor_id());
sprintf(current->comm, "migration/%d", smp_processor_id());
for (;;) {
runqueue_t *rq_src, *rq_dest;
......
......@@ -280,7 +280,7 @@ static int ksoftirqd(void * __bind_cpu)
if (smp_processor_id() != cpu)
BUG();
sprintf(current->comm, "ksoftirqd_CPU%d", cpu);
sprintf(current->comm, "ksoftirqd/%d", cpu);
__set_current_state(TASK_INTERRUPTIBLE);
mb();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment