Messages in this thread | | | Date | Thu, 12 Apr 2018 10:13:23 +0200 | From | Peter Zijlstra <> | Subject | Re: [PATCH] checkpatch: Add a --strict test for structs with bool member definitions |
| |
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.
| |