svn commit: r281451 - head/sys/vm

Chagin Dmitry dchagin at freebsd.org
Sat Apr 25 07:07:40 UTC 2015


On Fri, Apr 24, 2015 at 05:37:21AM -0700, Chris Torek wrote:
> 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.)
> 
vm_mem_init() called before uma init. unfortunately, we have not seen
a proper info about panic from scottl
-- 
Have fun!
chd


More information about the svn-src-head mailing list