Module Name: src
Committed By: pooka
Date: Mon Dec 9 19:47:59 UTC 2013
Modified Files:
src/sys/rump/librump/rumpkern: scheduler.c
Log Message:
Reenable calls to KPREEMPT_EN/DISABLE(). I'm almost certain I commented
them out accidentally in rev 1.30.
... not that they do much in rump kernels which are always
run-to-completion, but maybe there's some driver debugging value.
To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/rump/librump/rumpkern/scheduler.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/scheduler.c
diff -u src/sys/rump/librump/rumpkern/scheduler.c:1.34 src/sys/rump/librump/rumpkern/scheduler.c:1.35
--- src/sys/rump/librump/rumpkern/scheduler.c:1.34 Wed May 15 14:07:26 2013
+++ src/sys/rump/librump/rumpkern/scheduler.c Mon Dec 9 19:47:59 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: scheduler.c,v 1.34 2013/05/15 14:07:26 pooka Exp $ */
+/* $NetBSD: scheduler.c,v 1.35 2013/12/09 19:47:59 pooka Exp $ */
/*
* Copyright (c) 2010, 2011 Antti Kantee. All Rights Reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: scheduler.c,v 1.34 2013/05/15 14:07:26 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: scheduler.c,v 1.35 2013/12/09 19:47:59 pooka Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
@@ -513,14 +513,14 @@ void
kpreempt_disable(void)
{
- //KPREEMPT_DISABLE(curlwp);
+ KPREEMPT_DISABLE(curlwp);
}
void
kpreempt_enable(void)
{
- //KPREEMPT_ENABLE(curlwp);
+ KPREEMPT_ENABLE(curlwp);
}
void