History

KVM: vgic-v4: Track the number of VLPIs per vcpu

In order to find out whether a vcpu is likely to be the target of VLPIs (and to further optimize the way we deal with those), let's track the number of VLPIs a vcpu can receive. This gets implemented with an atomic variable that gets incremented or decremented on map, unmap and move of a VLPI.

Marc Zyngier committed 7 years ago

Commit 5bd90b01 parent 90908254 files · +8 −0Browse files

Showing the changes to include/linux (1 of 4 files). Show all

Unified · Split

include/linux/irqchip/arm-gic-v4.h+2−0
@@ -32,6 +32,8 @@ struct its_vm { · 31 unmodified lines
32struct its_vpe {32struct its_vpe {
33 struct page *vpt_page;33 struct page *vpt_page;
34 struct its_vm *its_vm;34 struct its_vm *its_vm;
35 /* per-vPE VLPI tracking */
36 atomic_t vlpi_count;
35 /* Doorbell interrupt */37 /* Doorbell interrupt */
36 int irq;38 int irq;
37 irq_hw_number_t vpe_db_lpi;39 irq_hw_number_t vpe_db_lpi;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t