Re: [PATCH] checkpatch: Add a --strict test for structs with bool member definitions
From: Peter Zijlstra
Date: Thu Apr 12 2018 - 04:13:40 EST
On Wed, Apr 11, 2018 at 11:42:20PM -0700, Joe Perches wrote:
> I personally do not find a significant issue with
> uncontrolled sizes of bool in kernel structs as
> all of the kernel structs are transitory and not
> written out to storage.
People that care about cache locality, false sharing and other such
things really care about structure layout.
Growing a structure into another cacheline can be a significant
performance hit -- cache misses hurt.