Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Aug 2018 23:24:29 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r338284 - head/sys/vm
Message-ID:  <201808232324.w7NNOTTS033966@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */
 };



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