From owner-svn-src-all@freebsd.org Sun Sep 6 17:36:10 2015 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 403BE9CB455; Sun, 6 Sep 2015 17:36:10 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3056017A6; Sun, 6 Sep 2015 17:36:10 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t86HaApX058708; Sun, 6 Sep 2015 17:36:10 GMT (envelope-from kib@FreeBSD.org) Received: (from kib@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t86HaAtA058707; Sun, 6 Sep 2015 17:36:10 GMT (envelope-from kib@FreeBSD.org) Message-Id: <201509061736.t86HaAtA058707@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: kib set sender to kib@FreeBSD.org using -f From: Konstantin Belousov Date: Sun, 6 Sep 2015 17:36:10 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r287508 - stable/10/sys/kern X-SVN-Group: stable-10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 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: Sun, 06 Sep 2015 17:36:10 -0000 Author: kib Date: Sun Sep 6 17:36:09 2015 New Revision: 287508 URL: https://svnweb.freebsd.org/changeset/base/287508 Log: MFC r287310: Use P1B_PRIO_MAX to designate max posix priority for the RR/FIFO scheduler types. Modified: stable/10/sys/kern/ksched.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/kern/ksched.c ============================================================================== --- stable/10/sys/kern/ksched.c Sun Sep 6 17:32:33 2015 (r287507) +++ stable/10/sys/kern/ksched.c Sun Sep 6 17:36:09 2015 (r287508) @@ -229,7 +229,7 @@ ksched_get_priority_max(struct ksched *k switch (policy) { case SCHED_FIFO: case SCHED_RR: - *prio = RTP_PRIO_MAX; + *prio = P1B_PRIO_MAX; break; case SCHED_OTHER: *prio = PRI_MAX_TIMESHARE - PRI_MIN_TIMESHARE;