svn commit: r297460 - head/sys/sys

Edward Tomasz Napierala trasz at FreeBSD.org
Thu Mar 31 17:15:04 UTC 2016


Author: trasz
Date: Thu Mar 31 17:15:03 2016
New Revision: 297460
URL: https://svnweb.freebsd.org/changeset/base/297460

Log:
  Improve comments.
  
  MFC after:	1 month
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/sys/racct.h

Modified: head/sys/sys/racct.h
==============================================================================
--- head/sys/sys/racct.h	Thu Mar 31 17:11:58 2016	(r297459)
+++ head/sys/sys/racct.h	Thu Mar 31 17:15:03 2016	(r297460)
@@ -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)
 


More information about the svn-src-all mailing list