Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Don't give a boost to system threads.
details: https://anonhg.NetBSD.org/src/rev/8673d01866a4
branches: trunk
changeset: 781929:8673d01866a4
user: matt <matt%NetBSD.org@localhost>
date: Sun Oct 07 20:43:18 2012 +0000
description:
Don't give a boost to system threads.
diffstat:
sys/sys/lwp.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 64f0638e246a -r 8673d01866a4 sys/sys/lwp.h
--- a/sys/sys/lwp.h Sun Oct 07 20:14:08 2012 +0000
+++ b/sys/sys/lwp.h Sun Oct 07 20:43:18 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lwp.h,v 1.164 2012/09/27 20:43:15 rmind Exp $ */
+/* $NetBSD: lwp.h,v 1.165 2012/10/07 20:43:18 matt Exp $ */
/*-
* Copyright (c) 2001, 2006, 2007, 2008, 2009, 2010
@@ -411,7 +411,7 @@
pri_t pri;
pri = l->l_priority;
- if (l->l_kpriority && pri < PRI_KERNEL)
+ if ((l->l_flag & LW_SYSTEM) == 0 && l->l_kpriority && pri < PRI_KERNEL)
pri = (pri >> 1) + l->l_kpribase;
return MAX(l->l_inheritedprio, pri);
}
Home |
Main Index |
Thread Index |
Old Index