svn commit: r210224 - in head/sys: kern sys
Edward Tomasz Napierala
trasz at FreeBSD.org
Sun Jul 18 19:29:13 UTC 2010
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
More information about the svn-src-head
mailing list