答复: [????] Re: [PATCH] KVM: Fix obsolete comment about locking for kvm_io_bus_read/write

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

 



> 
> On Fri, Apr 18, 2025, Li RongQing wrote:
> > Nobody is actually calling these functions with slots_lock held.
> > The srcu read lock is required.
> 
> I vote to delete the comments entirely, the srcu_dereference() precisely
> communicates both what is being protected, and what provides the protection.


Ok, I will resend this patch

Thank

-Li




[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