summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2002-10-07 20:29:53 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-10-07 20:29:53 -0700
commitfe0eee230a6a2aca232d6c34ebf69307bd2939b1 (patch)
tree0b64db442cacdf215e79736999a1aa2fec2a7075 /kernel
parent444eb7130d860957957434ac042d0eec262728ca (diff)
[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.
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched.c2
-rw-r--r--kernel/softirq.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 0d8095a9be9b..62e81a6f285d 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -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;
diff --git a/kernel/softirq.c b/kernel/softirq.c
index 0145640e6cda..45e8712f9f70 100644
--- a/kernel/softirq.c
+++ b/kernel/softirq.c
@@ -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();