Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/matt-nb6-plus]: src/sys/sys Pulled from HEAD:
details: https://anonhg.NetBSD.org/src/rev/9b7c0a39ab0b
branches: matt-nb6-plus
changeset: 774513:9b7c0a39ab0b
user: matt <matt%NetBSD.org@localhost>
date: Wed Nov 28 22:52:52 2012 +0000
description:
Pulled from HEAD:
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 c6a6f25725db -r 9b7c0a39ab0b sys/sys/lwp.h
--- a/sys/sys/lwp.h Wed Nov 28 22:50:03 2012 +0000
+++ b/sys/sys/lwp.h Wed Nov 28 22:52:52 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lwp.h,v 1.159.2.1.2.1 2012/11/01 16:45:04 matt Exp $ */
+/* $NetBSD: lwp.h,v 1.159.2.1.2.2 2012/11/28 22:52:52 matt Exp $ */
/*-
* Copyright (c) 2001, 2006, 2007, 2008, 2009, 2010
@@ -416,7 +416,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