Subject: structure padding
To: None <tech-kern@NetBSD.ORG>
From: David Seifert <seifert@sequent.com>
List: tech-kern
Date: 04/01/1997 14:45:05
> > Why do you need the `pad[3]' ?
> 
> There is no "need" for the padding, strictly speaking.
> However, they represent a "micro-optimization" for m68k
> machines. [...]

I have to wonder if there are cases where padding could hurt.
E.g. CPU doesn't care about 32-bit boundaries, but the padding
causes a cache miss.

Seems like the compiler should handle this, with directives to
force it one way or another if you want.

-Dave