diff options
author | Sebastian Andrzej Siewior <[email protected]> | 2024-07-04 19:03:38 +0200 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2024-07-09 13:26:35 +0200 |
commit | 5af42f928f3ac555c228740fb4a92d05b19fdd49 (patch) | |
tree | ebce35c0bd10a125e88d6cc74b8bfe10fa86e1cd /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | c5d93d23a26012a98b77f9e354ab9b3afd420059 (diff) |
perf: Shrink the size of the recursion counter.
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.
The main goal here is to shrink the whole struct into 32bit int which
can later be added task_struct into an existing hole.
Reduce the type of the recursion counter to an unsigned char, keep the
increment/ decrement operation.
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Tested-by: Marco Elver <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions