Re: [RFC PATCH 1/2] KVM: PPC: divide the ics lock into smaller ones for each irq

2016-06-20 Thread Li Zhong
On Jun 20, 2016, at 13:25, Paul Mackerras wrote:On Mon, May 16, 2016 at 02:58:18PM +0800, Li Zhong wrote:This patch tries to use smaller locks for each irq in the ics, insteadof a lock at the ics level, to provide better scalability.This looks like a worth-while thing to do.  Do you have anyperfor

Re: [RFC PATCH 1/2] KVM: PPC: divide the ics lock into smaller ones for each irq

2016-06-19 Thread Paul Mackerras
On Mon, May 16, 2016 at 02:58:18PM +0800, Li Zhong wrote: > This patch tries to use smaller locks for each irq in the ics, instead > of a lock at the ics level, to provide better scalability. This looks like a worth-while thing to do. Do you have any performance measurements to justify the change

[RFC PATCH 1/2] KVM: PPC: divide the ics lock into smaller ones for each irq

2016-05-15 Thread Li Zhong
This patch tries to use smaller locks for each irq in the ics, instead of a lock at the ics level, to provide better scalability. Signed-off-by: Li Zhong --- arch/powerpc/kvm/book3s_hv_rm_xics.c | 24 ++--- arch/powerpc/kvm/book3s_xics.c | 41 +++