Date: Fri, 24 Aug 2018 18:47:50 +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: r338302 - head/sys/vm Message-ID: <201808241847.w7OIlodK029619@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: glebius Date: Fri Aug 24 18:47:50 2018 New Revision: 338302 URL: https://svnweb.freebsd.org/changeset/base/338302 Log: Either "free" or "allocated" is misleading here, since an item in a bucket is free from perspective of UMA consumer, and it is allocated from perspective of keg. Discussed with: markj Approved by: re (kib) Modified: head/sys/vm/uma_int.h Modified: head/sys/vm/uma_int.h ============================================================================== --- head/sys/vm/uma_int.h Fri Aug 24 18:31:12 2018 (r338301) +++ head/sys/vm/uma_int.h Fri Aug 24 18:47:50 2018 (r338302) @@ -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 allocated items. */ + int16_t ub_cnt; /* Count of items in bucket. */ 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?201808241847.w7OIlodK029619>