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 update comments. no code change.



details:   https://anonhg.NetBSD.org/src/rev/363be610cfd4
branches:  trunk
changeset: 757613:363be610cfd4
user:      pooka <pooka%NetBSD.org@localhost>
date:      Tue Sep 07 17:49:23 2010 +0000

description:
update comments.  no code change.

diffstat:

 sys/rump/librump/rumpkern/intr.c |  19 +++++++------------
 1 files changed, 7 insertions(+), 12 deletions(-)

diffs (47 lines):

diff -r 7a5ec6ff39ea -r 363be610cfd4 sys/rump/librump/rumpkern/intr.c
--- a/sys/rump/librump/rumpkern/intr.c  Tue Sep 07 17:22:53 2010 +0000
+++ b/sys/rump/librump/rumpkern/intr.c  Tue Sep 07 17:49:23 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intr.c,v 1.32 2010/08/15 21:28:33 pooka Exp $  */
+/*     $NetBSD: intr.c,v 1.33 2010/09/07 17:49:23 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.32 2010/08/15 21:28:33 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.33 2010/09/07 17:49:23 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
@@ -243,16 +243,6 @@
                panic("clock thread creation failed: %d", rv);
 }
 
-/*
- * Soft interrupts bring two choices.  If we are running with thread
- * support enabled, defer execution, otherwise execute in place.
- * See softint_schedule().
- * 
- * As there is currently no clear concept of when a thread finishes
- * work (although rump_clear_curlwp() is close), simply execute all
- * softints in the timer thread.  This is probably not the most
- * efficient method, but good enough for now.
- */
 void *
 softint_establish(u_int flags, void (*func)(void *), void *arg)
 {
@@ -276,6 +266,11 @@
        return si;
 }
 
+/*
+ * Soft interrupts bring two choices.  If we are running with thread
+ * support enabled, defer execution, otherwise execute in place.
+ */
+
 void
 softint_schedule(void *arg)
 {



Home | Main Index | Thread Index | Old Index