Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7330323ybi; Thu, 1 Aug 2019 06:38:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqybEr/bOyks1onvRnks53Zf3Ib3KEBQZ5KYii129a4Zcar+TkxkswEBKU5TlRfWlIl3ve3b X-Received: by 2002:a62:b411:: with SMTP id h17mr51289098pfn.99.1564666715230; Thu, 01 Aug 2019 06:38:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564666715; cv=none; d=google.com; s=arc-20160816; b=r9q87D9Ue8Ng4HKuBsQK0V0gGumDi6ZwHywPbFqZn+5rCYVKm4O+z3rf1+wEN7sZ1g /u29YG4CmhRPyjC25UIenqU52PamYYhOLUPPmCAOyKDPwoKZKBX1ijQ61iNC8GwLEkjs Gz9mteRDOH8f7Vtk0nrQ+LoxgvgYdfHQ+gtBw6dq1GlJ+xjazEzxlAtGCZCBYzpH8p6T kSNoVyiW3GIhq8QRFli0o7X6VLCc1gUe9oIWdk3PhsRYEGaLgSC3N2aJqQkSK/GvfBZH 7h+73c8TofDmV1ji+54r59ciXfnfm9LMIHZzHVp5t50YIZJyjlF8B7hnr3p+4FIdvOp6 p4Gw== 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; bh=8S9Gd+o6OSepY0MiNtAK6+O8i2rp0cPKS4n2qu0Y0/s=; b=jU18SC+B6j0XIjpmu4Zd5hcXK97+in0PuOYnE1g4ltjVPl2Mc5e16rzhQbj52o5kVk tIuMHiviEQtn9jtH9AImOhJ987Qga2XHzpFegiKQK8YCz3RAx4fAbHTWpdta5v4knHcq d/oU+sDjji99Iu4KYgKLzs8I/SPfkiqomkqSz+HxWzDu30UL0rfZq59cEsu+y/QtB7IK XsFJg/gl2UONhB/4GvdNM7SAOXm6xOSd53KTOWd4YkwgPPglcqEaTMjabuOU6SZNy+0Z A3oIHSPq5WBMOPpypswolkHNuZDhHtN4nLQrT+4TaFZxzktSqE6j4PZvauc76l4S5fn+ Yvkw== ARC-Authentication-Results: i=1; mx.google.com; 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 23si34632370pfi.265.2019.08.01.06.38.19; Thu, 01 Aug 2019 06:38:35 -0700 (PDT) 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; 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 S1729535AbfHANRL (ORCPT + 99 others); Thu, 1 Aug 2019 09:17:11 -0400 Received: from foss.arm.com ([217.140.110.172]:36014 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728592AbfHANRL (ORCPT ); Thu, 1 Aug 2019 09:17:11 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B6475337; Thu, 1 Aug 2019 06:17:10 -0700 (PDT) Received: from e107158-lin.cambridge.arm.com (unknown [10.1.194.52]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2B6F93F575; Thu, 1 Aug 2019 06:17:10 -0700 (PDT) Date: Thu, 1 Aug 2019 14:17:07 +0100 From: Qais Yousef To: Peter Zijlstra Cc: mingo@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/5] Fix FIFO-99 abuse Message-ID: <20190801131707.5rpyydznnhz474la@e107158-lin.cambridge.arm.com> References: <20190801111348.530242235@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190801111348.530242235@infradead.org> User-Agent: NeoMutt/20171215 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/01/19 13:13, Peter Zijlstra wrote: > I noticed a bunch of kthreads defaulted to FIFO-99, fix them. > > The generic default is FIFO-50, the admin will have to configure the system > anyway. > > For some the purpose is to be above OTHER and then FIFO-1 really is sufficient. I was looking in this area too and was thinking of a way to consolidate the creation of RT/DL tasks in the kernel and the way we set the priority. Does it make sense to create a new header for RT priorities for kthreads created in the kernel so that we can easily track and rationale about the relative priorities of in-kernel RT tasks? When working in the FW world such a header helped a lot in understanding what runs at each priority level and how to reason about what priority level makes sense for a new item. It could be a nice single point of reference; even for admins. Cheers -- Qais Yousef