Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Feb 2009 17:34:23 +0100
From:      Jille Timmermans <jille@quis.cx>
To:        Julian Stacey <jhs@berklix.org>
Cc:        freebsd-hackers@freebsd.org, Andrew Brampton <brampton+freebsd-hackers@gmail.com>
Subject:   Re: pahole - Finding holes in kernel structs
Message-ID:  <49944F8F.5080104@quis.cx>
In-Reply-To: <200902121549.n1CFnLdt002361@fire.js.berklix.net>
References:  <200902121549.n1CFnLdt002361@fire.js.berklix.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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