Module Name:    src
Committed By:   pooka
Date:           Tue Aug 10 21:32:38 UTC 2010

Modified Files:
        src/sys/rump/librump/rumpkern: intr.c

Log Message:
Don't create the percpu clock interrupt threads as softint threads
because they aren't softint threads.  This fixes callouts in
situations where there is nothing else happening in the rump kernel
(i.e. no threads executed which would trigger the softints when
they unschedule).


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/rump/librump/rumpkern/intr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/rump/librump/rumpkern/intr.c
diff -u src/sys/rump/librump/rumpkern/intr.c:1.30 src/sys/rump/librump/rumpkern/intr.c:1.31
--- src/sys/rump/librump/rumpkern/intr.c:1.30	Tue Aug 10 19:16:04 2010
+++ src/sys/rump/librump/rumpkern/intr.c	Tue Aug 10 21:32:38 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: intr.c,v 1.30 2010/08/10 19:16:04 pooka Exp $	*/
+/*	$NetBSD: intr.c,v 1.31 2010/08/10 21:32:38 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.30 2010/08/10 19:16:04 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.31 2010/08/10 21:32:38 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
@@ -227,7 +227,7 @@
 		    NULL, "rsi%d/%d", ci->ci_index, i);
 	}
 
-	rv = kthread_create(PRI_NONE, KTHREAD_MPSAFE | KTHREAD_INTR,
+	rv = kthread_create(PRI_NONE, KTHREAD_MPSAFE,
 	    ci, doclock, NULL, NULL, "rumpclk%d", ci->ci_index);
 	if (rv)
 		panic("clock thread creation failed: %d", rv);

Reply via email to