Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern comments
details: https://anonhg.NetBSD.org/src/rev/026f865aaa31
branches: trunk
changeset: 771742:026f865aaa31
user: yamt <yamt%NetBSD.org@localhost>
date: Fri Dec 02 12:31:03 2011 +0000
description:
comments
diffstat:
sys/kern/kern_runq.c | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diffs (40 lines):
diff -r c48e93f11b93 -r 026f865aaa31 sys/kern/kern_runq.c
--- a/sys/kern/kern_runq.c Fri Dec 02 12:30:14 2011 +0000
+++ b/sys/kern/kern_runq.c Fri Dec 02 12:31:03 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_runq.c,v 1.32 2011/08/07 21:13:05 rmind Exp $ */
+/* $NetBSD: kern_runq.c,v 1.33 2011/12/02 12:31:03 yamt Exp $ */
/*
* Copyright (c) 2007, 2008 Mindaugas Rasiukevicius <rmind at NetBSD org>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_runq.c,v 1.32 2011/08/07 21:13:05 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_runq.c,v 1.33 2011/12/02 12:31:03 yamt Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -638,6 +638,10 @@
#else
+/*
+ * stubs for !MULTIPROCESSOR
+ */
+
struct cpu_info *
sched_takecpu(struct lwp *l)
{
@@ -760,6 +764,10 @@
return l;
}
+/*
+ * sched_curcpu_runnable_p: return if curcpu() should exit the idle loop.
+ */
+
bool
sched_curcpu_runnable_p(void)
{
Home |
Main Index |
Thread Index |
Old Index