Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jul 2010 19:29:12 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r210224 - in head/sys: kern sys
Message-ID:  <201007181929.o6IJTC89040318@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007181929.o6IJTC89040318>