commit | 1612bf99de322e2554a90dced7337ff2d8d1ded6 | [log] [tgz] |
---|---|---|
author | Bart Van Assche <bvanassche@acm.org> | Thu Apr 21 15:18:18 2022 -0700 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Fri Apr 22 11:43:13 2022 -0700 |
tree | 15a77ee5f615f46a48e04850e69753ca76c5368d | |
parent | 7a5109ff62c97646276db38aa5cdf805e43ed8ea [diff] |
Remove unnecessary __attribute__((packed)) annotations Applying the __attribute__((packed)) annotation to members that do not need it impacts performance negatively on architectures that do not support efficient unaligned accesses (e.g. ARMv7). Hence minimize the __attribute__((packed)) annotations. See also CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS in the Linux kernel. Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>