Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-6]: src/sys/kern Pull up revision 1.34 (requested by para in tick...
details: https://anonhg.NetBSD.org/src/rev/af8f50f73447
branches: netbsd-6
changeset: 775528:af8f50f73447
user: jdc <jdc%NetBSD.org@localhost>
date: Sat Nov 24 20:50:15 2012 +0000
description:
Pull up revision 1.34 (requested by para in ticket #712).
change sched_upreempt_pri default to 0 as discussed on tech-kern@
should improve interactive performance on SMP machines
as user preemption happens immediately in x-cpu wakeup case now
diffstat:
sys/kern/kern_runq.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r ead4a57baad5 -r af8f50f73447 sys/kern/kern_runq.c
--- a/sys/kern/kern_runq.c Sat Nov 24 20:43:16 2012 +0000
+++ b/sys/kern/kern_runq.c Sat Nov 24 20:50:15 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_runq.c,v 1.33 2011/12/02 12:31:03 yamt Exp $ */
+/* $NetBSD: kern_runq.c,v 1.33.4.1 2012/11/24 20:50:15 jdc 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.33 2011/12/02 12:31:03 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_runq.c,v 1.33.4.1 2012/11/24 20:50:15 jdc Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -99,7 +99,7 @@
/*
* Preemption control.
*/
-int sched_upreempt_pri = PRI_KERNEL;
+int sched_upreempt_pri = 0;
#ifdef __HAVE_PREEMPTION
# ifdef DEBUG
int sched_kpreempt_pri = 0;
Home |
Main Index |
Thread Index |
Old Index