Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Mar 2016 17:15:03 +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: r297460 - head/sys/sys
Message-ID:  <201603311715.u2VHF3Ve073066@repo.freebsd.org>

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



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