Re: [PATCH RESEND v4 0/6] powerPC/pSeries use pv-qpsinlock as the default spinlock implemention

From: Michael Ellerman
Date: Thu Jun 02 2016 - 02:23:40 EST


On Thu, 2016-06-02 at 13:03 +0800, Pan Xinhui wrote:

> change from v3:
> a big change in [PATCH v4 4/6] pv-qspinlock: powerpc support pv-qspinlock
> no other patch changed.
> and the patch cover letter tilte has changed as only pseries may need use pv-qspinlock, not all powerpc.
>
> 1) __pv_wait will not return until *ptr != val as Waiman gives me a tip.
> 2) support lock holder serching by storing cpu number into a hash table(implemented as an array)
> This is because lock_stealing hit too much, up to 10%~20% of all the successful lock(), and avoid
> vcpu slices bounce.


You sent v4 last night, why did you resend again?

RESEND usually means "I sent this a while ago and got no response so here it is again".

cheers