diff options
author | Brendan Gregg <brendan.gregg@joyent.com> | 2013-10-31 07:57:56 +0000 |
---|---|---|
committer | Brendan Gregg <brendan.gregg@joyent.com> | 2013-10-31 15:47:33 +0000 |
commit | e35bb6a41f6dc7caf6e7c1c35b51a620538946fc (patch) | |
tree | 5a1df498dbacc539134db58aa1fa054e8b51f000 /usr/src | |
parent | dfe9442cf92f7c4bf76019c3643e91213a0e4f21 (diff) | |
download | illumos-joyent-release-20131031.tar.gz |
OS-2250 Reduce thread migrations caused by pri >= minclsysprirelease-20131031
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/uts/common/disp/disp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |