From owner-svn-src-all@freebsd.org Sun Dec 13 11:30:37 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 F13EAA421D4; Sun, 13 Dec 2015 11:30:37 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 BF2291A43; Sun, 13 Dec 2015 11:30:37 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tBDBUaVA010422; Sun, 13 Dec 2015 11:30:36 GMT (envelope-from trasz@FreeBSD.org) Received: (from trasz@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tBDBUaak010420; Sun, 13 Dec 2015 11:30:36 GMT (envelope-from trasz@FreeBSD.org) Message-Id: <201512131130.tBDBUaak010420@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: trasz set sender to trasz@FreeBSD.org using -f From: Edward Tomasz Napierala Date: Sun, 13 Dec 2015 11:30:36 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r292162 - head/sys/kern X-SVN-Group: head 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, 13 Dec 2015 11:30:38 -0000 Author: trasz Date: Sun Dec 13 11:30:36 2015 New Revision: 292162 URL: https://svnweb.freebsd.org/changeset/base/292162 Log: Tweak comments. MFC after: 1 month Sponsored by: The FreeBSD Foundation Modified: head/sys/kern/kern_racct.c head/sys/kern/kern_rctl.c Modified: head/sys/kern/kern_racct.c ============================================================================== --- head/sys/kern/kern_racct.c Sun Dec 13 11:21:13 2015 (r292161) +++ head/sys/kern/kern_racct.c Sun Dec 13 11:30:36 2015 (r292162) @@ -495,8 +495,8 @@ racct_destroy(struct racct **racct) } /* - * Increase consumption of 'resource' by 'amount' for 'racct' - * and all its parents. Differently from other cases, 'amount' here + * Increase consumption of 'resource' by 'amount' for 'racct', + * but not its parents. Differently from other cases, 'amount' here * may be less than zero. */ static void Modified: head/sys/kern/kern_rctl.c ============================================================================== --- head/sys/kern/kern_rctl.c Sun Dec 13 11:21:13 2015 (r292161) +++ head/sys/kern/kern_rctl.c Sun Dec 13 11:30:36 2015 (r292162) @@ -282,7 +282,7 @@ rctl_would_exceed(const struct proc *p, } /* - * Special version of rctl_available() function for the %cpu resource. + * Special version of rctl_get_available() for the %CPU resource. * We slightly cheat here and return less than we normally would. */ int64_t