Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754783AbbG0UJJ (ORCPT ); Mon, 27 Jul 2015 16:09:09 -0400 Received: from mx2.suse.de ([195.135.220.15]:51388 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754398AbbG0UJH (ORCPT ); Mon, 27 Jul 2015 16:09:07 -0400 Message-ID: <1438027733.25997.50.camel@stgolabs.net> Subject: Re: [PATCH v3 2/7] locking/pvqspinlock: Add pending bit support From: Davidlohr Bueso To: Waiman Long Cc: Peter Zijlstra , Ingo Molnar , Thomas Gleixner , "H. Peter Anvin" , x86@kernel.org, linux-kernel@vger.kernel.org, Scott J Norton , Douglas Hatch Date: Mon, 27 Jul 2015 13:08:53 -0700 In-Reply-To: <55B66ACB.6010702@hp.com> References: <1437595962-21472-1-git-send-email-Waiman.Long@hp.com> <1437595962-21472-3-git-send-email-Waiman.Long@hp.com> <1437958584.25997.27.camel@stgolabs.net> <55B66ACB.6010702@hp.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.11 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 Content-Length: 574 Lines: 16 On Mon, 2015-07-27 at 13:30 -0400, Waiman Long wrote: > Yes, we could change the loop to that. I was just following the same > logic in the native code. Well since the native code obviously doesn't involve the threshold/clear_pending, it looks fine to me. Its just the pv version I think should be updated. Thanks, Davidlohr -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/