svn commit: r338284 - head/sys/vm

Gleb Smirnoff glebius at FreeBSD.org
Thu Aug 23 23:24:30 UTC 2018


Author: glebius
Date: Thu Aug 23 23:24:28 2018
New Revision: 338284
URL: https://svnweb.freebsd.org/changeset/base/338284

Log:
  Fix comment. The actual meaning of ub_cnt is the opposite.

Modified:
  head/sys/vm/uma_int.h

Modified: head/sys/vm/uma_int.h
==============================================================================
--- head/sys/vm/uma_int.h	Thu Aug 23 22:57:42 2018	(r338283)
+++ head/sys/vm/uma_int.h	Thu Aug 23 23:24:28 2018	(r338284)
@@ -188,7 +188,7 @@ struct uma_hash {
 
 struct uma_bucket {
 	LIST_ENTRY(uma_bucket)	ub_link;	/* Link into the zone */
-	int16_t	ub_cnt;				/* Count of free items. */
+	int16_t	ub_cnt;				/* Count of allocated items. */
 	int16_t	ub_entries;			/* Max items. */
 	void	*ub_bucket[];			/* actual allocation storage */
 };


More information about the svn-src-head mailing list