aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strlcpy-src.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2023-02-18 09:10:31 +0100
committerMichael S. Tsirkin <[email protected]>2023-04-21 03:02:29 -0400
commit48cd6bc5b22d68b8bbc8601f3c7ddeed99541a0b (patch)
treed6f3d472cd311eeedcd6f8a572e9caacf026ba96 /lib/test_fortify/write_overflow-strlcpy-src.c
parente4be66e5f36b8cd2a052ba9e2ba063e6c37f5453 (diff)
virtio: Reorder fields in 'struct virtqueue'
Group some variables based on their sizes to reduce hole and avoid padding. On x86_64, this shrinks the size of 'struct virtqueue' from 72 to 68 bytes. It saves a few bytes of memory. Signed-off-by: Christophe JAILLET <[email protected]> Message-Id: <8f3d2e49270a2158717e15008e7ed7228196ba02.1676707807.git.christophe.jaillet@wanadoo.fr> Signed-off-by: Michael S. Tsirkin <[email protected]> Acked-by: Peter Lafreniere <[email protected]> Reviewed-by: Stefano Garzarella <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions