aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/racct.h
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2016-03-31 17:15:03 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2016-03-31 17:15:03 +0000
commitc4563b16f59b340aca1a2e1e1f7257068c92b878 (patch)
tree0835b12dfce85a0af2cc6dc52cb4f164bcf24a73 /sys/sys/racct.h
parentb03384114d985e73b9ffed2ceca1106f22d66cf2 (diff)
downloadsrc-c4563b16f59b340aca1a2e1e1f7257068c92b878.tar.gz
src-c4563b16f59b340aca1a2e1e1f7257068c92b878.zip
Improve comments.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=297460
Diffstat (limited to 'sys/sys/racct.h')
-rw-r--r--sys/sys/racct.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/sys/racct.h b/sys/sys/racct.h
index 307585680ca0..8d1f2fa2cec2 100644
--- a/sys/sys/racct.h
+++ b/sys/sys/racct.h
@@ -98,7 +98,7 @@ extern int racct_enable;
/*
* Resource usage can drop, as opposed to only grow. When the process
- * terminates, its resource usage is freed from the respective
+ * terminates, its resource usage is subtracted from the respective
* per-credential racct containers.
*/
#define RACCT_IS_RECLAIMABLE(X) (racct_types[X] & RACCT_RECLAIMABLE)
@@ -126,8 +126,7 @@ extern int racct_enable;
* When a process terminates, its resource usage is not automatically
* subtracted from per-credential racct containers. Instead, the resource
* usage of per-credential racct containers decays in time.
- * Resource usage can olso drop for such resource.
- * So far, the only such resource is RACCT_PCTCPU.
+ * Resource usage can also drop for such resource.
*/
#define RACCT_IS_DECAYING(X) (racct_types[X] & RACCT_DECAYING)