Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Feb 2009 13:15:08 -0800
From:      Bakul Shah <bakul@bitblocks.com>
To:        freebsd-hackers@freebsd.org
Subject:   Re: pahole - Finding holes in kernel structs 
Message-ID:  <20090212211508.7CF795B21@mail.bitblocks.com>
In-Reply-To: Your message of "Thu, 12 Feb 2009 09:53:18 PST." <4994620E.5000804@freebsd.org> 
References:  <d41814900902120608i4b54c86fp9f565bbeead5a476@mail.gmail.com> <200902121717.47841.max@love2party.net> <4994516B.8060703@freebsd.org> <200902121754.24536.max@love2party.net> <4994620E.5000804@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> >>>> So I ran the tool pahole over a 7.1 FreeBSD Kernel, and found that
> >>>> many of the struct had holes, and some of which could be rearranged to
> >>>> fill the gap.

...

> Certainly plugging holes can also be beneficial but just cautioning that 
> changes of this sort need to be checked if made to critical data 
> structures.  OTOH there aren't that many that matter in practice.

But why do it?  Are the benefits worth churning any ABIs?



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