From 49749270a380502bfb13a496705555255f9978f8 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Tue, 14 Dec 2010 21:33:17 +0000 Subject: When the per-queueset transmit kthread is idle, do not pass a sleep priority of '1' to tsleep(). This caused the priority of this kthread to be raised higher than every other thread in the system. Instead, leave the priority of the kthread at its existing level. This is a direct commit to stable/7 as this code is no longer present in 8.x and later. Reviewed by: np Approved by: re (kib) --- sys/dev/cxgb/cxgb_multiq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev') diff --git a/sys/dev/cxgb/cxgb_multiq.c b/sys/dev/cxgb/cxgb_multiq.c index 80836abd0f44..045b09463d39 100644 --- a/sys/dev/cxgb/cxgb_multiq.c +++ b/sys/dev/cxgb/cxgb_multiq.c @@ -624,7 +624,7 @@ cxgb_pcpu_start_proc(void *arg) continue; } done: - tsleep(qs, 1, "cxgbidle", idleticks); + tsleep(qs, 0, "cxgbidle", idleticks); } if (bootverbose) -- cgit v1.3