diff options
| author | Vlastimil Babka <vbabka@suse.cz> | 2025-11-07 14:51:25 +0100 |
|---|---|---|
| committer | Vlastimil Babka <vbabka@suse.cz> | 2025-11-10 15:35:21 +0100 |
| commit | 32cf9f21828a752a364b2698ec66f8532cd66c52 (patch) | |
| tree | 8c403f5f77f40c64190894764b56e7a8dbba464d /tools/docs/check-variable-fonts.py | |
| parent | 3993ca9d6495e1e4d6fdaffc1bba0271059940c4 (diff) | |
slab: use struct freelist_counters for local variables instead of struct slab
In several functions we declare local struct slab variables so we can
work with the freelist and counters fields (including the sub-counters
that are in the union) comfortably.
With struct freelist_counters containing the full counters definition,
we can now reduce the local variables to that type as we don't need the
other fields in struct slab.
Reviewed-by: Harry Yoo <harry.yoo@oracle.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'tools/docs/check-variable-fonts.py')
0 files changed, 0 insertions, 0 deletions
