Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp382368lqp; Tue, 11 Jun 2024 07:20:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWzcWnSU7jpdSt8F6o4S99E7vntvCGmhFxBcCgIaqu2bPnV04OeuLPE1tUp1MOV7ece9fo9r0M8/umEvBxxWRAwsm4T8fzOpqpxUIigzA== X-Google-Smtp-Source: AGHT+IGvgPT+cx+t/hxoBKoEVdQlnoeVFF6yBBHjffrVptqwXUuk07i3yUlpgOXkNiTChnReVzbY X-Received: by 2002:a05:620a:4711:b0:795:4d0b:161f with SMTP id af79cd13be357-7954d0b19b0mr1247390585a.69.1718115624818; Tue, 11 Jun 2024 07:20:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718115624; cv=pass; d=google.com; s=arc-20160816; b=MXPUXbHcyPJn+LbDZE2AK/L06FgwfoLIR6BbpwGzqQcvXGzZmWOzXIlRQeyTHjYwry c38F62QeG43THUFCg2HR/OHdSuyZFx5IsW9pKTJJ03tcqlLGr1257sprLoGo8DtxmxTm sYD2IPCRR9ImYczvi9Pqusu4vTVRxU6yK8NpYPjpimRMELBAdkylHJy8/m7rD0XfiHpy uleLBjAC8BXozkLcm7hmjY8Yw8/lhykmQuv1nPMTha0m681om66wb8Gy/2zCVmZd+CGq lP0LAcKmsap+L/+m5KcV00yvEsZEOxHFm2UhIsxt0eDsMhDXNTk1jNGES8dYLpL4FxPG o+Xg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date; bh=T+Vxhmf25HEu69wr7CLv9jD4OctwCNDkjvrBkeSRKL4=; fh=By60di8nxpzb/4ofKjcjF/y9aW4/+AH2ga6maxtNpdI=; b=esp63YRh4DeKXCSfNegtFgGr7gor4Vvu1xjfgRfjEC/eWzmycVSGecDenOCvmFApOD Qa15irxrCYGUQ+lH4uWrcQzqvh5f/o9SRiJbEPkNFmtD99qF0H/iFzaBBoSelstTk0f5 oflOI+NPIPjcQWkNjWbSwhLhElM3Bfz+/VgtSLVpSzryezPCXXnvqgV6l/IvFNicco3Y teUQcU6cPcYlaMsvqDBMqDVvHPHmCUYbCYIIHaKWsW0RUc1UyUR1eLSuXpKFJCR1c1kE KmapLeB4A4qFBBuXuatwK0dw8TL5rbe1zl6VGL8rwMK/mFGX2b/wF4kvD+u5nSvpAahn VVxA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-210053-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210053-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-79533340173si1403097085a.613.2024.06.11.07.20.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 07:20:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-210053-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-210053-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210053-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 815911C225A9 for ; Tue, 11 Jun 2024 14:20:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1556817D896; Tue, 11 Jun 2024 14:20:14 +0000 (UTC) Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 87690AD2C; Tue, 11 Jun 2024 14:20:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718115613; cv=none; b=C9oWgTpZmwvWVeL/V57KlZ95YmguLHnL30bQ+MhO+xthLm/X6eyZDbJWtcX8nDDcLq+gQR7vE6HoCHdrM4VA/NQq7HAxY+1EsBnQOHRyDgBAbeQy5cZ8R5ZY7qE+iRdCUnbzLWhs68Hdo8pef52oQ5ZlbTe0oq4bBXSSmrerAgE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718115613; c=relaxed/simple; bh=VIwnoCS4IaBoGX5EiRkAQ9RQUl2lu3NbQQfnw5doDjQ=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=H0qinAmChcGrEFNddkc1yOnJnPIt3fhAAFzjE5ualSE3qAYf+pjGGT0RDhRW6M7EpzXEDd3yudeQsCAStvYDyPxsHI069MbT7ci8OUxitCXcUCKC9Vzx9Tc2+6yt/oxQCW+SmYaSRFG8Jgg/IJ+0aSHddH+cZQhqaDvnkbRjbNk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3D9A1C2BD10; Tue, 11 Jun 2024 14:20:11 +0000 (UTC) Date: Tue, 11 Jun 2024 10:20:26 -0400 From: Steven Rostedt To: Daniel Bristot de Oliveira Cc: Qais Yousef , Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Thomas Gleixner , Sebastian Andrzej Siewior , Alexander Viro , Christian Brauner , Andrew Morton , Jens Axboe , Metin Kaya , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH v6 3/3] sched/rt: Rename realtime_{prio, task}() to rt_or_dl_{prio, task}() Message-ID: <20240611102026.1be1155f@gandalf.local.home> In-Reply-To: References: <20240610192018.1567075-1-qyousef@layalina.io> <20240610192018.1567075-4-qyousef@layalina.io> X-Mailer: Claws Mail 3.20.0git84 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Tue, 11 Jun 2024 11:03:25 +0200 Daniel Bristot de Oliveira wrote: > On 6/10/24 21:20, Qais Yousef wrote: > > - if (realtime_prio(p->prio)) /* includes deadline */ > > + if (rt_or_dl_prio(p->prio)) > > that is it... no thinking, no recall, no comment, no confusion... How about "not_normal_prio(p->prio)" ? /me runs! -- Steve