[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] x86/MSI: improve memory usage in struct msi_desc



There's no reason to have both a 4-byte hole and 4 bytes of tail
padding.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

--- a/xen/include/asm-x86/msi.h
+++ b/xen/include/asm-x86/msi.h
@@ -119,10 +119,9 @@ struct msi_desc {
        };
        struct pci_dev *dev;
        int irq;
+       int remap_index;                /* index in interrupt remapping table */
 
        struct msi_msg msg;             /* Last set MSI message */
-
-       int remap_index;                /* index in interrupt remapping table */
 };
 
 /*



Attachment: x86-MSI-move-remap_index.patch
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.