Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/rump/librump/rumpkern Use correct indices for clock thre...



details:   https://anonhg.NetBSD.org/src/rev/01647579e61c
branches:  trunk
changeset: 757013:01647579e61c
user:      pooka <pooka%NetBSD.org@localhost>
date:      Tue Aug 10 19:16:04 2010 +0000

description:
Use correct indices for clock threads and more descriptive ones
for the softint threads.

diffstat:

 sys/rump/librump/rumpkern/intr.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r b9e78c332884 -r 01647579e61c sys/rump/librump/rumpkern/intr.c
--- a/sys/rump/librump/rumpkern/intr.c  Tue Aug 10 18:17:12 2010 +0000
+++ b/sys/rump/librump/rumpkern/intr.c  Tue Aug 10 19:16:04 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intr.c,v 1.29 2010/05/18 20:18:18 martin Exp $ */
+/*     $NetBSD: intr.c,v 1.30 2010/08/10 19:16:04 pooka Exp $  */
 
 /*
  * Copyright (c) 2008 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.29 2010/05/18 20:18:18 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.30 2010/08/10 19:16:04 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
@@ -224,11 +224,11 @@
                rv = kthread_create(PRI_NONE,
                    KTHREAD_MPSAFE | KTHREAD_INTR, ci,
                    sithread, (void *)(uintptr_t)i,
-                   NULL, "rumpsi%d", i);
+                   NULL, "rsi%d/%d", ci->ci_index, i);
        }
 
        rv = kthread_create(PRI_NONE, KTHREAD_MPSAFE | KTHREAD_INTR,
-           ci, doclock, NULL, NULL, "rumpclk%d", i);
+           ci, doclock, NULL, NULL, "rumpclk%d", ci->ci_index);
        if (rv)
                panic("clock thread creation failed: %d", rv);
 }



Home | Main Index | Thread Index | Old Index