From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752250AbcFBGXh (ORCPT ); Thu, 2 Jun 2016 02:23:37 -0400 Received: from ozlabs.org ([103.22.144.67]:43848 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751205AbcFBGXf (ORCPT ); Thu, 2 Jun 2016 02:23:35 -0400 Message-ID: <1464848612.19646.5.camel@ellerman.id.au> Subject: Re: [PATCH RESEND v4 0/6] powerPC/pSeries use pv-qpsinlock as the default spinlock implemention From: Michael Ellerman To: Pan Xinhui , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.orgv, irtualization@lists.linux-foundation.org Cc: benh@kernel.crashing.org, paulus@samba.org, peterz@infradead.org, mingo@redhat.com, paulmck@linux.vnet.ibm.com, waiman.long@hpe.com Date: Thu, 02 Jun 2016 16:23:32 +1000 In-Reply-To: <1464843787-4378-1-git-send-email-xinhui.pan@linux.vnet.ibm.com> References: <1464843787-4378-1-git-send-email-xinhui.pan@linux.vnet.ibm.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.16.5-1ubuntu3.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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