Re: [libvirt] [v6 09/10] Resctrl: concurrence support

2017-02-15 Thread Marcelo Tosatti
On Wed, Feb 15, 2017 at 01:41:52PM +0800, Eli Qiao wrote: > The internal struct list domainall is a list which are resctral domain > status shared by all VMs, especiall the default domain, each VM should > access it concomitantly. Ues a mutex to control it. > > Each bank's cache_left field is

[libvirt] [v6 09/10] Resctrl: concurrence support

2017-02-14 Thread Eli Qiao
The internal struct list domainall is a list which are resctral domain status shared by all VMs, especiall the default domain, each VM should access it concomitantly. Ues a mutex to control it. Each bank's cache_left field is also a global shared resource we need to be care, add a mutex for each