From owner-svn-src-head@FreeBSD.ORG Sun Jul 18 19:29:13 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18DA810656AB; Sun, 18 Jul 2010 19:29:13 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 076878FC13; Sun, 18 Jul 2010 19:29:13 +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 o6IJTC8e040319; Sun, 18 Jul 2010 19:29:12 GMT (envelope-from trasz@svn.freebsd.org) Received: (from trasz@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o6IJTC89040318; Sun, 18 Jul 2010 19:29:12 GMT (envelope-from trasz@svn.freebsd.org) Message-Id: <201007181929.o6IJTC89040318@svn.freebsd.org> From: Edward Tomasz Napierala Date: Sun, 18 Jul 2010 19:29:12 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r210224 - in head/sys: kern sys X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jul 2010 19:29:13 -0000 Author: trasz Date: Sun Jul 18 19:29:12 2010 New Revision: 210224 URL: http://svn.freebsd.org/changeset/base/210224 Log: Remove outdated comment and move part of it into more applicable place. Modified: head/sys/kern/kern_resource.c head/sys/sys/resourcevar.h Modified: head/sys/kern/kern_resource.c ============================================================================== --- head/sys/kern/kern_resource.c Sun Jul 18 18:52:00 2010 (r210223) +++ head/sys/kern/kern_resource.c Sun Jul 18 19:29:12 2010 (r210224) @@ -1169,11 +1169,6 @@ lim_rlimit(struct proc *p, int which, st p->p_sysent->sv_fixlimit(rlp, which); } -/* - * Find the uidinfo structure for a uid. This structure is used to - * track the total resource consumption (process count, socket buffer - * size, etc.) for the uid and impose limits. - */ void uihashinit() { Modified: head/sys/sys/resourcevar.h ============================================================================== --- head/sys/sys/resourcevar.h Sun Jul 18 18:52:00 2010 (r210223) +++ head/sys/sys/resourcevar.h Sun Jul 18 19:29:12 2010 (r210224) @@ -80,7 +80,9 @@ struct plimit { }; /*- - * Per uid resource consumption + * Per uid resource consumption. This structure is used to track + * the total resource consumption (process count, socket buffer size, + * etc) for the uid and impose limits. * * Locking guide: * (a) Constant from inception