Re: [PATCH v4 2/9] KVM: Switch IRQ subsystem to SRCU

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

 



Am 09.11.2010 11:49, Avi Kivity wrote:
> On 11/08/2010 01:21 PM, Jan Kiszka wrote:
>> Ack and mask notifiers typically call back into kvm_set_irq, thus may
>> iterate over all VCPUs of a VM. Better keep this path preemptible to
>> prevent that user-space can massivle influence scheduling latencies. Use
>> sleepable RCU for the protection of irq_routing and the notfier lists.
>>
> 
> What about preemptible RCU, now in mainline?

Granted, that would resolve the preemption issue but not allow to use
sleepy locks inside this section (as done by the last patch in this series).

Jan

-- 
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
--
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


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux