diff options
author | Mateusz Guzik <[email protected]> | 2024-08-17 14:37:54 +0200 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-09-01 20:43:38 -0700 |
commit | d994c238347d7ba4de15da00985e1bea75e91dc7 (patch) | |
tree | cca0ed991e0536f3c985237297578a3412a50ab9 /scripts/generate_rust_analyzer.py | |
parent | 076979ee62f23c0eff035e0528b4cfadbe743255 (diff) |
ratelimit: convert flags to int to save 8 bytes in size
Only bit 1 is used, making an unsigned long a total overkill.
This brings it from 40 to 32 bytes, which in turn shrinks user_struct from
136 to 128 bytes. Since the latter is allocated with hwalign, this means
the total usage goes down from 192 to 128 bytes per object.
No functional changes.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Mateusz Guzik <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions