Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3875918pxu; Tue, 20 Oct 2020 02:52:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzFTDLYNtCQ4p73Sniiud757SHiLSFNCnY3OJtxFoakgIaavtwDQFVdR2CK30hqtkFprmis X-Received: by 2002:a05:6402:1597:: with SMTP id c23mr1850164edv.155.1603187531207; Tue, 20 Oct 2020 02:52:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603187531; cv=none; d=google.com; s=arc-20160816; b=zxFbHXuiExHUTvn7MZ8vVFtNr1rRI52PtfJXBalWqceNQGX/VSHhBjyDCIyla5M5A2 NO5Goj7ba6WaDSTPB5FrWjiUc3iyP4Bl0iXFwCYLkbhB07YAwbWCAp7zb74D9u5Iqa5Q JJJzLZHzFYG9U52iJVR3l/OChRIrTB2tzFTtU1TRSzTReBSwTwn/38YgMIcGNkIlkv8b sCaPtcTaB1j5Sy21y0a2sOC53XzEYu7FyL42+tDOAp/El2IHKYa9vH/XfCG/RZ+zKEWt kpBFDl99UaE+MCxXOCEYOW2mzka5AjK3qSUo+3yBTIDtQJ8M583R0BIFVCkKRZyNVS56 5fzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Xhw3H2QX3tICj9sxZ/ux9knj+Ltjn7roSmeWowve6X0=; b=CrXGALB2PXa65SDv1ihl4yL5jVeGVUjde4WU4cQ6GLg1jao1U4qq1uKzzv47+otJzs MDgD4gLZ92IlKwlW7ncsLwP2Hs4AnmuNIhSebhLw6Do0vuAJkCIK6F5PtSqyiCMEqpc6 piloSRJt29WWprB9bcBC4K6DofiEP/pMEjABXP8P52P4DSO4sugVzGlQZfA0wzIcjZfG 4g/SdtSGURvhl44R7XCqAUsGIHeOh0hT8p+Q/03JFppsp+YQOFpjUBUbFtuuAzG8UGSh 7dcBBbxr8njyJRMkkT6kvm0NF4FDFgYl/iKceR3Aciq9tI/Eo/v6yFl9cR+EVchY20en +5Xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="qk/y7e0H"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z24si765836edl.8.2020.10.20.02.51.49; Tue, 20 Oct 2020 02:52:11 -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=@infradead.org header.s=casper.20170209 header.b="qk/y7e0H"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731239AbgJTHWN (ORCPT + 99 others); Tue, 20 Oct 2020 03:22:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730921AbgJTHWN (ORCPT ); Tue, 20 Oct 2020 03:22:13 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75D9CC061755 for ; Tue, 20 Oct 2020 00:22:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=Xhw3H2QX3tICj9sxZ/ux9knj+Ltjn7roSmeWowve6X0=; b=qk/y7e0HKfalmfo609rXDu6iyF XwpzCEQ9uETNrLkSMxq4hFjkOFEdOhPGMcBJMdzFWpZy/HLblXg5maY9yRWzSZSjw2ltBPcqCjvIo VsGI+BsBkaq2QH62qs+ybi5CicrWlwK/untRW0wImlNsX+KH3nogc+PGaC13cc/o7kEbUakrOa1ng f+tZd1SCqfJwJRzISBToQByzGYXz/cdVgIrGFKXovrG3bKErIZOZXBKdY1EkQc8BS0sDCxAQ7mN8U svwdjMgWdPJO5vfAp6o4BdR0ytetvoHTBcYmlhAxZWl2EPfuYaZof593IJ4boKzhAny8ow29BqMry rJwnKwBw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kUly4-0002yq-S3; Tue, 20 Oct 2020 07:22:01 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 45D773011FE; Tue, 20 Oct 2020 09:22:00 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 29A3920593806; Tue, 20 Oct 2020 09:22:00 +0200 (CEST) Date: Tue, 20 Oct 2020 09:22:00 +0200 From: Peter Zijlstra To: Dietmar Eggemann Cc: Ingo Molnar , Juri Lelli , Vincent Guittot , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/2] sched/cpupri: Remap CPUPRI_NORMAL to MAX_RT_PRIO-1 Message-ID: <20201020072200.GX2611@hirez.programming.kicks-ass.net> References: <20200922083934.19275-1-dietmar.eggemann@arm.com> <20201014194858.GC2974@worktop.programming.kicks-ass.net> <20388bee-9534-3ca0-4916-0bd0b9852189@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20388bee-9534-3ca0-4916-0bd0b9852189@arm.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 19, 2020 at 04:14:16PM +0200, Dietmar Eggemann wrote: > On 14/10/2020 21:48, Peter Zijlstra wrote: > > [...] > > > + switch (prio) { > > + case CPUPRI_INVALID: > > + cpupri = CPUPRI_INVALID; /* -1 */ > > + break; > > + > > + case 0...98: > > kernel/sched/cpupri.c:54:7: error: too many decimal points in number > 54 | case 0...98: > | ^~~~~~ > > There need to be spaces around the ellipses. > > Otherwise LGTM. Yah, some robot already told me. Fix this already in the queue.git version. Thanks for looking at it though.