Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1556278ybl; Sat, 25 Jan 2020 03:22:12 -0800 (PST) X-Google-Smtp-Source: APXvYqxil9XJV8JShor0EbQ9hMTD981RO/7GgihBpCpexIQW8S6VIfwZft0SuZMtA+JgTOMCntVW X-Received: by 2002:aca:56ce:: with SMTP id k197mr2239500oib.99.1579951332564; Sat, 25 Jan 2020 03:22:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579951332; cv=none; d=google.com; s=arc-20160816; b=uZb4Il1fojnUduG+Smny+Emq0x7eGcUfriPa+aAn7/UErFB6m52ikj/Y0OWtG5FgSZ POCOiqQd0ei6GakQW+5KPIiS6PjRGCHVgKw7Fdzv6+yHy7O13S0OQU9VgsGvU0zExYrH Iq/60gljRl47NeGidAYZjrxDJwHjD8cE8rOGKySk+e8O2C5D+XCKNSvmfIaRfqkemOqY W0vKgXc2D5HacVEBJ+IX/r8luMSMSMT2q25AAv0QWO+BhIfsw3meIy1YziarW4tUEciH 6B2SF/jiv3qDtffak9ZgLdeAGHtSSAseY+qcjoIaFl8kQzsTxs5aW6JXjOnUWI1WykVC AYRg== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=OP0jUwmmVf5k5VHaoyszroM7/NftdfADwRXKDwwLdIk=; b=UvJJoU/Ol717V8xw27gMBeIdAx5Xza28H57dQAB78+gaDWSPO2hSFJ+q3yLNOIMLec W9wJMXn3M12VPx+CauT3b3UaE+jTCwlAShr/qcrvJcDuSx+1+tz71i9dJq+Yyt102MBN piR82QjQc805rumb8Aa5Go5sCD1M24EGHO+cQaA1lmQ2r+Wg4TsSgEB6m5THvbfgeG3E Agxb+KHnKrGMFH1cHXbvxysr+bozGMlMOfm7XZXEujeUg9jOExbytO974Lh4G1YVhOmt cBYolrLw65WZd9yJIzANgW4CsxYdA7hvocn9o3AeMIMXLMcHVJDNn7IboEM9OIs6O590 tsWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=ptV38WIP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 194si1187557oii.2.2020.01.25.03.22.00; Sat, 25 Jan 2020 03:22:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=ptV38WIP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726275AbgAYLUJ (ORCPT + 99 others); Sat, 25 Jan 2020 06:20:09 -0500 Received: from merlin.infradead.org ([205.233.59.134]:50382 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725767AbgAYLUJ (ORCPT ); Sat, 25 Jan 2020 06:20:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Transfer-Encoding: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=OP0jUwmmVf5k5VHaoyszroM7/NftdfADwRXKDwwLdIk=; b=ptV38WIPx+l6Yf6WtjGHgCfGFe AgMWOXh+dtKIvzf9sJr2QFX8KIPn567Cren4byAkUNCrELh2bnIGEhnjrzg4/VSpoBhaqJpz0wJdW v3WCYrq8Cj34EhWxdi0ImmM+Fxd5B5HQa9YqOZtpfsEwsMO0DtrC2ZmGNSZSEab7GSNSclh4zPLRt Mq/0W4rMTgG2ErY6PRFSi97BOwYqRryRjFWkt/r3EHJfqfHW/tRHlXM4uHxdB9NB+YDM/K1A5jThf 3GZY6UrKeKkFaEVrSzVzYPsqKPd0dKhxiReYfqGxATtZYQXzMJJwE86yhsNd/oWDiEhTTKjOX4PFU Wmw+TCmA==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=worktop.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1ivJTS-0004yl-Ip; Sat, 25 Jan 2020 11:19:34 +0000 Received: by worktop.programming.kicks-ass.net (Postfix, from userid 1000) id C885F980BB0; Sat, 25 Jan 2020 12:19:31 +0100 (CET) Date: Sat, 25 Jan 2020 12:19:31 +0100 From: Peter Zijlstra To: Alex Kogan Cc: Waiman Long , linux@armlinux.org.uk, Ingo Molnar , Will Deacon , Arnd Bergmann , linux-arch@vger.kernel.org, linux-arm-kernel , linux-kernel@vger.kernel.org, Thomas Gleixner , Borislav Petkov , hpa@zytor.com, x86@kernel.org, Hanjun Guo , Jan Glauber , Steven Sistare , Daniel Jordan , dave.dice@oracle.com Subject: Re: [PATCH v8 4/5] locking/qspinlock: Introduce starvation avoidance into CNA Message-ID: <20200125111931.GW11457@worktop.programming.kicks-ass.net> References: <20191230194042.67789-5-alex.kogan@oracle.com> <20200121132949.GL14914@hirez.programming.kicks-ass.net> <3862F8A1-FF9B-40AD-A88E-2C0BA7AF6F58@oracle.com> <20200124075235.GX14914@hirez.programming.kicks-ass.net> <2c6741c5-d89d-4b2c-cebe-a7c7f6eed884@redhat.com> <48ce49e5-98a7-23cd-09f4-8290a65abbb5@redhat.com> <8D3AFB47-B595-418C-9568-08780DDC58FF@oracle.com> <714892cd-d96f-4d41-ae8b-d7b7642a6e3c@redhat.com> <1669BFDE-A1A5-4ED8-B586-035460BBF68A@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1669BFDE-A1A5-4ED8-B586-035460BBF68A@oracle.com> 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 Fri, Jan 24, 2020 at 01:19:05PM -0500, Alex Kogan wrote: > Is there a lightweight way to identify such a “prioritized” thread? No; people might for instance care about tail latencies between their identically spec'ed worker tasks. In general it turns out that priority is a dynamic concept, not a static one.