svn commit: r292162 - head/sys/kern
Edward Tomasz Napierala
trasz at FreeBSD.org
Sun Dec 13 11:30:38 UTC 2015
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
More information about the svn-src-head
mailing list