svn commit: r281451 - head/sys/vm

Chris Torek torek at elf.torek.net
Fri Apr 24 12:37:23 UTC 2015


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


More information about the svn-src-all mailing list