Re: [PATCHv2] kvm: remove in_range and switch to rwsem for iobus

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

 



On 06/29/2009 12:51 PM, Michael S. Tsirkin wrote:
We can convert it to rcu indepenently of other things protected by
slots_lock; no need to do everything at the same time.

Yes but once we merge locks, it will be harder to split them out.
I know I can now do grep bus_lock and find all places affected,
if I reuse slot_lock this information is lost. No?

That's true, but for seeing the overall picture, fewer locks are better. I'm more concerned about those looking at all the code (me) than those implementing locking improvements (you).

--
error compiling committee.c: too many arguments to function

--
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