Author: jhb Date: Tue Dec 14 21:33:17 2010 New Revision: 216449 URL: http://svn.freebsd.org/changeset/base/216449
Log: 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) Modified: stable/7/sys/dev/cxgb/cxgb_multiq.c Modified: stable/7/sys/dev/cxgb/cxgb_multiq.c ============================================================================== --- stable/7/sys/dev/cxgb/cxgb_multiq.c Tue Dec 14 20:57:40 2010 (r216448) +++ stable/7/sys/dev/cxgb/cxgb_multiq.c Tue Dec 14 21:33:17 2010 (r216449) @@ -624,7 +624,7 @@ cxgb_pcpu_start_proc(void *arg) continue; } done: - tsleep(qs, 1, "cxgbidle", idleticks); + tsleep(qs, 0, "cxgbidle", idleticks); } if (bootverbose) _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"