From owner-svn-src-all@FreeBSD.ORG Tue Dec 14 21:33:17 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F99A106566C; Tue, 14 Dec 2010 21:33:17 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 6CFB38FC12; Tue, 14 Dec 2010 21:33:17 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id oBELXHpn031291; Tue, 14 Dec 2010 21:33:17 GMT (envelope-from jhb@svn.freebsd.org) Received: (from jhb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id oBELXHXx031289; Tue, 14 Dec 2010 21:33:17 GMT (envelope-from jhb@svn.freebsd.org) Message-Id: <201012142133.oBELXHXx031289@svn.freebsd.org> From: John Baldwin Date: Tue, 14 Dec 2010 21:33:17 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r216449 - stable/7/sys/dev/cxgb X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Dec 2010 21:33:17 -0000 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)