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 Reenable calls to KPREEMPT_EN/DISA...
details: https://anonhg.NetBSD.org/src/rev/b0e94812ff06
branches: trunk
changeset: 325175:b0e94812ff06
user: pooka <pooka%NetBSD.org@localhost>
date: Mon Dec 09 19:47:59 2013 +0000
description:
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.
diffstat:
sys/rump/librump/rumpkern/scheduler.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (35 lines):
diff -r d3d03042bf05 -r b0e94812ff06 sys/rump/librump/rumpkern/scheduler.c
--- a/sys/rump/librump/rumpkern/scheduler.c Mon Dec 09 19:31:36 2013 +0000
+++ b/sys/rump/librump/rumpkern/scheduler.c Mon Dec 09 19:47:59 2013 +0000
@@ -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 @@
kpreempt_disable(void)
{
- //KPREEMPT_DISABLE(curlwp);
+ KPREEMPT_DISABLE(curlwp);
}
void
kpreempt_enable(void)
{
- //KPREEMPT_ENABLE(curlwp);
+ KPREEMPT_ENABLE(curlwp);
}
void
Home |
Main Index |
Thread Index |
Old Index