Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Apr 2015 05:37:21 -0700 (PDT)
From:      Chris Torek <torek@elf.torek.net>
To:        dim@FreeBSD.org
Cc:        adrian@freebsd.org, dchagin@freebsd.org, scott4long@yahoo.com, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r281451 - head/sys/vm
Message-ID:  <201504241237.t3OCbLmd039664@elf.torek.net>
In-Reply-To: <695B6002-002A-406C-B843-0DCFE24F81BD@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
True, it's not actually odd, it's just surprising the first time
one comes across it.

Also, I goofed in the text:

>> With the flexible array, (sizeof(struct uma_cache)) is going to be
>> 32 bytes smaller than without it.

It's `struct uma_zone` that shrinks by (potentially) more than one
would expect.  (The uma_cache struct is itself 32 bytes and is not
changed, so the args.size value should be the same -- implying that
some OTHER "sizeof(struct uma_zone)" is where things are going wrong.)

Chris



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