From e35bb6a41f6dc7caf6e7c1c35b51a620538946fc Mon Sep 17 00:00:00 2001 From: Brendan Gregg Date: Thu, 31 Oct 2013 07:57:56 +0000 Subject: OS-2250 Reduce thread migrations caused by pri >= minclsyspri --- usr/src/uts/common/disp/disp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/src') diff --git a/usr/src/uts/common/disp/disp.c b/usr/src/uts/common/disp/disp.c index 9afcd81239..eb489067b7 100644 --- a/usr/src/uts/common/disp/disp.c +++ b/usr/src/uts/common/disp/disp.c @@ -2278,7 +2278,7 @@ disp_getbest(disp_t *dp) * placed earlier. */ if (tcp == NULL || - pri >= minclsyspri || + (pri >= minclsyspri && tp->t_procp == &p0) || tp->t_cpu != tcp) break; -- cgit v1.2.3