diff options
| author | 2023-06-18 11:11:58 +0200 | |
|---|---|---|
| committer | 2023-08-14 11:21:22 +0200 | |
| commit | 574d06ceb88fb735a7d88c22e6531f4849aada51 (patch) | |
| tree | 190ee3a54dda1a726b12a76e54e8175c8f12ff4b /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | HID: input: Support devices sending Eraser without Invert (diff) | |
| download | wireguard-linux-574d06ceb88fb735a7d88c22e6531f4849aada51.tar.xz wireguard-linux-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 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
