Re: [PATCH 1/4] sched/fair: Introduce sched_entity::dont_balance
From: Peter Zijlstra
Date: Tue Jun 21 2016 - 04:40:53 EST
On Mon, Jun 20, 2016 at 05:59:29PM +0200, Jiri Olsa wrote:
> On Mon, Jun 20, 2016 at 04:28:23PM +0200, Peter Zijlstra wrote:
> > Never use bool in structures.
>
> ok, but I couldn't find anything real sinister about that..
> so why is that? ;-)
C does not define sizeof(bool) :-)
Obviously any implementation must, but you then get implementation
defined layout differences in your structures, which is crap.