From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BEE94C433E0 for ; Mon, 27 Jul 2020 07:44:25 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7C0122072E for ; Mon, 27 Jul 2020 07:44:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7C0122072E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4BFWzB6LknzDqWs for ; Mon, 27 Jul 2020 17:44:22 +1000 (AEST) Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with UTF8SMTPS id 4BFWb02QmQzDqpr for ; Mon, 27 Jul 2020 17:26:52 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Received: by ozlabs.org (Postfix, from userid 1034) id 4BFWZy5Z2Tz9sRW; Mon, 27 Jul 2020 17:26:50 +1000 (AEST) From: Michael Ellerman To: linuxppc-dev@lists.ozlabs.org, Nicholas Piggin In-Reply-To: <20200724131423.1362108-1-npiggin@gmail.com> References: <20200724131423.1362108-1-npiggin@gmail.com> Subject: Re: [PATCH v4 0/6] powerpc: queued spinlocks and rwlocks Message-Id: <159583478430.602200.10525784837560757158.b4-ty@ellerman.id.au> Date: Mon, 27 Jul 2020 17:26:50 +1000 (AEST) X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arch@vger.kernel.org, Peter Zijlstra , Boqun Feng , linux-kernel@vger.kernel.org, kvm-ppc@vger.kernel.org, virtualization@lists.linux-foundation.org, Ingo Molnar , Waiman Long , Michal Suchánek , Will Deacon Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Fri, 24 Jul 2020 23:14:17 +1000, Nicholas Piggin wrote: > Updated with everybody's feedback (thanks all), and more performance > results. > > What I've found is I might have been measuring the worst load point for > the paravirt case, and by looking at a range of loads it's clear that > queued spinlocks are overall better even on PV, doubly so when you look > at the generally much improved worst case latencies. > > [...] Applied to powerpc/next. [1/6] powerpc/pseries: Move some PAPR paravirt functions to their own file https://git.kernel.org/powerpc/c/20d444d06f97504d165b08558678b4737dcefb02 [2/6] powerpc: Move spinlock implementation to simple_spinlock https://git.kernel.org/powerpc/c/12d0b9d6c843e7dbe739ebefcf16c7e4a45e4e78 [3/6] powerpc/64s: Implement queued spinlocks and rwlocks https://git.kernel.org/powerpc/c/aa65ff6b18e0366db1790609956a4ac7308c5668 [4/6] powerpc/pseries: Implement paravirt qspinlocks for SPLPAR https://git.kernel.org/powerpc/c/20c0e8269e9d515e677670902c7e1cc0209d6ad9 [5/6] powerpc/qspinlock: Optimised atomic_try_cmpxchg_lock() that adds the lock hint https://git.kernel.org/powerpc/c/2f6560e652dfdbdb59df28b45a3458bf36d3c580 [6/6] powerpc: Implement smp_cond_load_relaxed() https://git.kernel.org/powerpc/c/49a7d46a06c30c7beabbf9d1a8ea1de0f9e4fdfe cheers