diff options
author | Ken Raeburn <raeburn@redhat.com> | 2025-02-25 00:36:03 +0300 |
---|---|---|
committer | Mikulas Patocka <mpatocka@redhat.com> | 2025-02-25 16:15:41 +0300 |
commit | e678900df2640b30c341c1c4121e859e7d3f267b (patch) | |
tree | 051412bb7394b16f8a89bdb70e8e62d4ee188040 /rust/helpers/build_bug.c | |
parent | 88f7f56d16f568f19e1a695af34a7f4a6ce537a6 (diff) | |
download | linux-e678900df2640b30c341c1c4121e859e7d3f267b.tar.xz |
dm vdo indexer: reorder uds_request to reduce padding
Reorder fields and make uds_request_type and uds_zone_message packed,
to squeeze out some space. Use struct_group so the request reset code
no longer needs to care about field order.
On x86_64 this reduces the struct size from 144 to 120, which saves 48
kB (about 12%) per VDO hash zone.
Signed-off-by: Ken Raeburn <raeburn@redhat.com>
Signed-off-by: Matthew Sakai <msakai@redhat.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions