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

[Xen-changelog] [xen master] x86/MSI: improve memory usage in struct msi_desc



commit ea362dd8da3981a29fe2ab64b377b2e8ab50db71
Author:     Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Thu Jun 1 10:48:04 2017 +0200
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Thu Jun 1 10:48:04 2017 +0200

    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>
    Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
---
 xen/include/asm-x86/msi.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/xen/include/asm-x86/msi.h b/xen/include/asm-x86/msi.h
index a5de6a1..213ee53 100644
--- 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 */
 };
 
 /*
--
generated by git-patchbot for /home/xen/git/xen.git#master

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

 


Rackspace

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