Re: [Xen-devel] [PATCH 17/19] xen: credit2: the private scheduler lock can be an rwlock.

2016-07-07 Thread George Dunlap
On Sat, Jun 18, 2016 at 12:13 AM, Dario Faggioli wrote: > In fact, the data it protects only change either at init-time, > during cpupools manipulation, or when changing domains' weights. > In all other cases (namely, load balancing, reading weights > and status dumping), information is only read.

[Xen-devel] [PATCH 17/19] xen: credit2: the private scheduler lock can be an rwlock.

2016-06-17 Thread Dario Faggioli
In fact, the data it protects only change either at init-time, during cpupools manipulation, or when changing domains' weights. In all other cases (namely, load balancing, reading weights and status dumping), information is only read. Therefore, let the lock be an read/write one. This means there