diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2023-06-18 11:11:58 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2023-08-14 11:21:22 +0200 |
commit | 574d06ceb88fb735a7d88c22e6531f4849aada51 (patch) | |
tree | 190ee3a54dda1a726b12a76e54e8175c8f12ff4b /.mailmap | |
parent | 276e14e6c3993317257e1787e93b7166fbc30905 (diff) | |
download | lwn-574d06ceb88fb735a7d88c22e6531f4849aada51.tar.gz lwn-574d06ceb88fb735a7d88c22e6531f4849aada51.zip |
HID: Reorder fields in 'struct hid_input'
Group some variables based on their sizes to reduce hole and avoid padding.
On x86_64, this shrinks the size of 'struct hid_input'
from 72 to 64 bytes.
It saves a few bytes of memory and is more cache-line friendly.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions