Re: [PATCH v4 3/6] perf: Shrink the size of the recursion counter.
From: Peter Zijlstra
Date: Mon Jul 01 2024 - 08:32:01 EST
On Mon, Jun 24, 2024 at 05:15:16PM +0200, Sebastian Andrzej Siewior wrote:
> There are four recursion counter, one for each context. The type of the
> counter is `int' but the counter is used as `bool' since it is only
> incremented if zero.
>
> Reduce the type of the recursion counter to an unsigned char, keep the
> increment/ decrement operation.
Does this actually matter? Aren't u8 memops encoded by longer
instructions etc..