Hello! > As the actual LPI number in a guest can be quite high, but is mostly > assigned using a very sparse allocation scheme, bitmaps and arrays > for storing the virtual interrupt status are a waste of memory. > We use our equivalent of the "Interrupt Translation Table Entry" > (ITTE) to hold this extra status information for a virtual LPI. You know, not that i'm strongly against current approach and want you to redo everything once again, but... Is it architecturally correct to intertwine LPIs and ITS so much? As far as i understand arch manual, it is possible to have LPIs without ITS (triggered by something else?). Shouldn't we do the same, and just add LPI support to our redistributors, and then proceed with the ITS? As to memory consumption, do we really need to store own copy of tables? After all, it's just a memory. What if we map a pointer directly into guest's memory (which it writes to PROPBASER/PENDBASER), and just keep it? There will be no issues with caching and synchronization at all. Kind regards, Pavel Fedin Expert Engineer Samsung Electronics Research center Russia -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html