From owner-svn-src-all@FreeBSD.ORG Thu Jan 6 22:14:13 2011 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 A40A7106566B; Thu, 6 Jan 2011 22:14:13 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 671248FC0A; Thu, 6 Jan 2011 22:14:12 +0000 (UTC) Received: by wwf26 with SMTP id 26so16631506wwf.31 for ; Thu, 06 Jan 2011 14:14:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=4MC6sDWfDIh5lID4n0YeCpdXV+2vMMCPLwZerUcYEMw=; b=N5dxpzQ7gv6DljN07JdFTv7nsrwV3Cm48oHswu+T5umOrzrmpPALLL8+u9Nss237pp hq1GCVsHHjzF+hYvjkGns3MlVzDGBWhXLv9FxyCjWLgE1TGXVoTf42FBPFh7YzzWg47Z EmCxFWgHasEx77s2s7eDP9EZCYACMZV0drY1Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=dUUjC637K5YGFTGj6vNY2FQ8jgXT55qvkQv+pBJ8j1573SU7BNUZFL2kteU05tbIJR kKCH5JWtJi5SHiE7IlB1XDXLGEut11WvtadkCsFBBdjCWJllU06PZZ0LsQJ6m7zLHin/ 4QVSCs5Lk3BBZz1yGBM9R9cXQlU70W6V92+vg= Received: by 10.216.169.1 with SMTP id m1mr23590769wel.112.1294352051175; Thu, 06 Jan 2011 14:14:11 -0800 (PST) Received: from localhost (tor-exit-readme.hands.com [83.142.228.14]) by mx.google.com with ESMTPS id p4sm12065203wer.29.2011.01.06.14.14.08 (version=SSLv3 cipher=RC4-MD5); Thu, 06 Jan 2011 14:14:09 -0800 (PST) From: Anonymous To: Alexander Best References: <201101041413.p04EDA4f038360@svn.freebsd.org> <20110106211017.GA46874@freebsd.org> <201101061618.39695.jhb@freebsd.org> <20110106214243.GA51802__16340.9905079336$1294350178$gmane$org@freebsd.org> Date: Fri, 07 Jan 2011 01:13:58 +0300 In-Reply-To: <20110106214243.GA51802__16340.9905079336$1294350178$gmane$org@freebsd.org> (Alexander Best's message of "Thu, 6 Jan 2011 21:42:43 +0000") Message-ID: <86bp3the8p.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: src-committers@freebsd.org, John Baldwin , svn-src-all@freebsd.org, Garrett Cooper , Konstantin Belousov , svn-src-head@freebsd.org Subject: Re: svn commit: r216955 - head/usr.sbin/rtprio 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: Thu, 06 Jan 2011 22:14:13 -0000 Alexander Best writes: > On Thu Jan 6 11, John Baldwin wrote: >> Note that that usage is rather pointless since it means you apply rtprio to >> the 'rtprio' process that is about to exit. :) > > yeah but at least it makes the usage of -X consistent. ;) also consider the > following: the current shell has idle priority and you want to run rtprio in > normal priority. then rtprio -t -0 would be a neat way of doing > rtprio -t rtprio. ;) wel...not quite, because the priotity gets set to "NORMAL" > when rtprio is almost finished running. ;) I think it'd be useful if the syntax allowed smth like $ rtprio 1 -0 -111 -222 -333 -444 -555 ... > > i admit using -0 for setting rtpio's own priority isn't very useful, but the > rtprio(1) manual states: > > Pid of 0 means "the current process".