From owner-freebsd-current@FreeBSD.ORG Fri Dec 17 16:53:14 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E6DC106566C for ; Fri, 17 Dec 2010 16:53:14 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 128548FC16 for ; Fri, 17 Dec 2010 16:53:14 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id C088446B52; Fri, 17 Dec 2010 11:53:13 -0500 (EST) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id A0AAA8A01D; Fri, 17 Dec 2010 11:53:11 -0500 (EST) From: John Baldwin To: freebsd-current@freebsd.org Date: Fri, 17 Dec 2010 11:28:59 -0500 User-Agent: KMail/1.13.5 (FreeBSD/7.3-CBSD-20101102; KDE/4.4.5; amd64; ; ) References: <867hf9ashq.fsf@gmail.com> In-Reply-To: <867hf9ashq.fsf@gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201012171128.59511.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Fri, 17 Dec 2010 11:53:11 -0500 (EST) X-Virus-Scanned: clamav-milter 0.96.3 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-1.9 required=4.2 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on bigwig.baldwin.cx Cc: Anonymous Subject: Re: idle priority > 30 in top(1) and idprio > 31 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Dec 2010 16:53:14 -0000 On Friday, December 17, 2010 12:16:49 am Anonymous wrote: > Is the following a regression? > > $ uname -vm > FreeBSD 9.0-HEAD-20101216-JPSNAP #0: Thu Dec 16 07:13:24 UTC 2010 > root@build-amd64-fbsd.allbsd.org:/usr/obj/usr/src/sys/GENERIC amd64 > > $ yes >/dev/null & > $ idprio 31 -$(pgrep yes) > $ top > PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND > 2139 luser 1 117 i-23 10052K 1128K RUN 0:41 98.97% yes > $ idprio 444 -$(pgrep yes) > $ top > PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND > 2139 luser 1 117 i-102 10052K 1128K RUN 0:42 97.56% yes > > On 8.0-RELEASE it's different > > $ yes >/dev/null & > $ idprio 31 -$(pgrep yes) > $ top > PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND > 2653 luser 1 171 i31 5808K 596K RUN 0:10 97.88% yes > $ idprio 444 -$(pgrep yes) > idprio: idprio: Invalid argument > > - 8.1-RELEASE accepts idprio > 31, e.g. 444. I've fixed this part. > - 8.2-BETA1 shows negative values in top(1) like -CURRENT I don't see that here on HEAD (the top values look correct). -- John Baldwin