Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1987432ybh; Fri, 24 Jul 2020 01:18:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzOgMm9SrBKxdPe4KHiuOGfrgATfhcUCdnN0ICyQQJd3nkf6ahYejvGjSfudrM7JoD7QGl8 X-Received: by 2002:a05:6402:b9b:: with SMTP id cf27mr8033036edb.84.1595578708628; Fri, 24 Jul 2020 01:18:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595578708; cv=none; d=google.com; s=arc-20160816; b=cpDlh0KpsuXSiyIiiW8GAa0xQGGAAY57dirqDI4yVj0fmKimEW7ES6RhqjHzI8fcY8 7hFAKyWKBeijPW8mS6fdwErUg7zz0kjzZVSkzzO3ginOHze3u7SsNVbHJmxCWmUTqoYY 14D3Cp4a/zYbgB/JsKWumCD2xSd+OcSv9FI964C58HJsOuozQ5UfRmGLhr+Mufu5WeQq v+bGvFOZls1S8a1uNe/L+jpIJd2B706YzzpUInUHpZS8r42uVTki7Gru9Gcr5Bm3ghFd ZkyOH+7REJS74YylypAzi1FrH2VnuTSKk8n721yleB3By2wKEIcd4FYUuTukaDnsQaAS Is5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=OvXaPxF03IhfXcc+ufBLXsR9R+yiMFpDervB8EKGNmU=; b=WMyx2jeasamCaXqRnTpwwvEDFjzi4bTzWgjJVx8J3M7RvRQ6vu2uTjfHWITYJPifXG lMUPGFyVrQae2RucfF6ir39ZXT5XgJda3NJ7qRSKXK2YuJZy7xBfB1wUaWt9F6du/LGy ch6cVFx+H4JJXN797+a9EqF+Q36oQ1mVsJrLFTAxxv574U11rL5f6BRE/OL1uBoV/bye yXHJRx2Qaycmy+wXhliCRSbvuYm8YgVjFGnIOxwj+/JvZnpjDHShUV4O1eo+xEbWfkmH aR/mqIyYWkbekmfgiCusGCbgeR/UJFsbFTuIrPkkn577exOy0o+QYQ0YlGlTY4C7eqta MI4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=RwKzdNIM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id co20si103019edb.131.2020.07.24.01.18.05; Fri, 24 Jul 2020 01:18:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=RwKzdNIM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726891AbgGXIQy (ORCPT + 99 others); Fri, 24 Jul 2020 04:16:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:50670 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726437AbgGXIQx (ORCPT ); Fri, 24 Jul 2020 04:16:53 -0400 Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 776FE2074A; Fri, 24 Jul 2020 08:16:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595578613; bh=MtSSJVr7CkQ6qYnldFXBBhVSH/FImYJYfT41DnqnyfQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RwKzdNIM0IbM4QhStWrpabxkbmQfmemxolOJQbQ35i0L7IjfMB2mLxbxDs3yf9OMG t5gjDHgkaIcsKKrEcDnxZ3E6OOSzQ0tacBMUiHRqwCuYIXYMIMsfdvbx+wenpuiypB b+V/llaOX/7WR8IKO4GbceZdbj7sGKlc3q02Gn3Q= Date: Fri, 24 Jul 2020 09:16:48 +0100 From: Will Deacon To: peterz@infradead.org Cc: Waiman Long , Michael Ellerman , Nicholas Piggin , linuxppc-dev@lists.ozlabs.org, Boqun Feng , Ingo Molnar , Anton Blanchard , linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, kvm-ppc@vger.kernel.org, linux-arch@vger.kernel.org Subject: Re: [PATCH v3 5/6] powerpc/pseries: implement paravirt qspinlocks for SPLPAR Message-ID: <20200724081647.GA16642@willie-the-truck> References: <20200706043540.1563616-1-npiggin@gmail.com> <20200706043540.1563616-6-npiggin@gmail.com> <874kqhvu1v.fsf@mpe.ellerman.id.au> <8265d782-4e50-a9b2-a908-0cb588ffa09c@redhat.com> <20200723140011.GR5523@worktop.programming.kicks-ass.net> <845de183-56f5-2958-3159-faa131d46401@redhat.com> <20200723184759.GS119549@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200723184759.GS119549@hirez.programming.kicks-ass.net> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 23, 2020 at 08:47:59PM +0200, peterz@infradead.org wrote: > On Thu, Jul 23, 2020 at 02:32:36PM -0400, Waiman Long wrote: > > BTW, do you have any comment on my v2 lock holder cpu info qspinlock patch? > > I will have to update the patch to fix the reported 0-day test problem, but > > I want to collect other feedback before sending out v3. > > I want to say I hate it all, it adds instructions to a path we spend an > aweful lot of time optimizing without really getting anything back for > it. > > Will, how do you feel about it? I can see it potentially being useful for debugging, but I hate the limitation to 256 CPUs. Even arm64 is hitting that now. Also, you're talking ~1% gains here. I think our collective time would be better spent off reviewing the CNA series and trying to make it more deterministic. Will