pahole - Finding holes in kernel structs

Jille Timmermans jille at
Thu Feb 12 08:50:10 PST 2009

Julian Stacey schreef:
>> 1) Is it worth my time trying to rearrange structs? 
> I wondered whether as a sensitivity test, some version of gcc (or
> its competitor ?) might have capability to automatically re-order
> variables ?  but found nothing in man gcc "Optimization Options".
There is a __packed attribute, I don't know what it exactly does and 
whether it is an improvement.

-- Jille
> Cheers,
> Julian

More information about the freebsd-hackers mailing list