aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/slab.py
diff options
context:
space:
mode:
authorStefan Hajnoczi <[email protected]>2023-09-18 16:56:15 -0400
committerAlex Williamson <[email protected]>2023-09-28 12:12:08 -0600
commit2f8d25fa8aed030d7d049f0aef1b78713f431a79 (patch)
tree4033519491e314e6c05f2be2db3c58cbf2d6588a /scripts/gdb/linux/slab.py
parent8a97ab9b8b31790d0014d3183f33a167454171c0 (diff)
vfio: trivially use __aligned_u64 for ioctl structs
u64 alignment behaves differently depending on the architecture and so <uapi/linux/types.h> offers __aligned_u64 to achieve consistent behavior in kernel<->userspace ABIs. There are structs in <uapi/linux/vfio.h> that can trivially be updated to __aligned_u64 because the struct sizes are multiples of 8 bytes. There is no change in memory layout on any CPU architecture and therefore this change is safe. The commits that follow this one handle the trickier cases where explanation about ABI breakage is necessary. Suggested-by: Jason Gunthorpe <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Reviewed-by: Kevin Tian <[email protected]> Signed-off-by: Stefan Hajnoczi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/slab.py')
0 files changed, 0 insertions, 0 deletions