Received: by 2002:a05:6500:1b41:b0:1fb:d597:ff75 with SMTP id cz1csp230946lqb; Tue, 4 Jun 2024 09:38:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVLNK4WBi8M5+Sn7ZfMM9sz27jXVX0j32DgVvifxRjVyEnXyLUqetUQ7SLik7vIWIU/WDskZ0WiiUAyVC2dACEmdIz/Wq0lOQlSykB4Pw== X-Google-Smtp-Source: AGHT+IEew1/1yOTHjxINfSnsyfyzzo+YBY0gAuZUFSwaedUBOInEtRGP82bU7W/zspdJ+zHj9uQb X-Received: by 2002:a05:6214:5789:b0:6ab:6d70:898a with SMTP id 6a1803df08f44-6aecd571fcamr127590396d6.8.1717519115604; Tue, 04 Jun 2024 09:38:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717519115; cv=pass; d=google.com; s=arc-20160816; b=Unh8jWzk3/Ug9lkUqpM2qAlMDWHWPhBB5IMlrlXQVC35uLg/udB4v+Yy1jALOFDrhO +YpH2JKmgMQ25h5zr74/Wr+uTkGGQIPYjZpNsSfeeJ9T02IhdizhF9aSNRd09Ce067Xy VsSwnJvyaWaeN0wqcs3gdrjnGIL96Yp5JXNPS4H55imUIwEX1DIUrDfiZ6D18yq0lSph w5CipoiVpmmZPxGDBZSNiz0aNaM+SSvBFshvlzEa6nEj5R5P4w2WpoAbi8HObQoPjGJB jpumv0rW6V1x0xtob6MSwZyLddTG3rpE/Z+2ZZThaN4rXj7z+a9JOBiP1klPed4xvP2P gz1g== 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=4BVSSTjoKWXgCiqhPCnIVI8ewzRJIRXr4CIJCfDOwas=; fh=nw6/9n+Cq4M5lUFX6VzIVJOiMxtEX498zfeRuiZNUfI=; b=XCCk2/D0lcV6/OhCVtV3oRUtzzmAVS23kAoizc/WTWtYYyfjvJ3a3jH4Cehf5WumoO sb839uM3gXD/P+mG0jcRcpwq/NJ4p6s2joyl3fNdVOhPLcsmFXxOdTMOYoST8PM74pI0 F3c4PJEY7Y0Yj6ci+T+pFjVOTC6cHoI+dfG8KBVzVdAspLENalaCUKcigR8sm1msHkCx bMq2wUaZ/c1ARPzMPIta+jB4HVpoLcN3cSvJFWB7I67Nyt/vW9rH0P0c6/SF39wkLtti dnRrPLAFQDoQyVXfpxDdhudYrI4GkHPvZVmCzi2JqCTheNXUi5sEIEa3F65HErV1mnFE xC8w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-201089-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-201089-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 6a1803df08f44-6ae4b414965si112655786d6.345.2024.06.04.09.38.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 09:38:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-201089-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-201089-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-201089-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 95C6C1C22CEC for ; Tue, 4 Jun 2024 16:38:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D474E14882F; Tue, 4 Jun 2024 16:37:52 +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 4E2F6146D6E; Tue, 4 Jun 2024 16:37:52 +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=1717519072; cv=none; b=oOit6kJffjqGa0lIaxJhK4we4VkYsRMbyRAOcjvPBkmRsLUorXwYt/lohY5hM1TdnQTwSkZCVSCGiOsddzr22KLMLuGdvhQVwvF/M8pe6X5MFwDBhrNTMCCo5TpYAaAGkhz+RrCnCRX9lXTEltVapEMNwW72u0AXeRKsoNd1H4I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717519072; c=relaxed/simple; bh=2pMUa3S1nxXDlCina66BMlGQj99L1msaowQ166Kxu9s=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=EVU5M2bwTJ2EmbxOt2KvEiH0q8izJCcHl94KjtYH3BUKu0qUqb7VC73nxJ4DIC6M747jQXJjZAN22yOnpu39XKvrxJOUTjHv7fzP46P5ntwRBgmb+hmVXDK8/uST1/MVFuQ/l0VVKB/OJfZ4WhUPECbLhyG+XnHU4j0fv2bL0f4= 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 335BFC2BBFC; Tue, 4 Jun 2024 16:37:47 +0000 (UTC) Date: Tue, 4 Jun 2024 12:37:45 -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, Phil Auld Subject: Re: [PATCH v5 1/2] sched/rt: Clean up usage of rt_task() Message-ID: <20240604123745.71921f39@gandalf.local.home> In-Reply-To: References: <20240604144228.1356121-1-qyousef@layalina.io> <20240604144228.1356121-2-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, 4 Jun 2024 17:57:46 +0200 Daniel Bristot de Oliveira wrote: > On 6/4/24 16:42, Qais Yousef wrote: > > - (wakeup_rt && !dl_task(p) && !rt_task(p)) || > > + (wakeup_rt && !realtime_task(p)) || > > I do not like bikeshedding, and no hard feelings... > > But rt is a shortened version of realtime, and so it is making *it less* > clear that we also have DL here. > > I know we can always read the comments, but we can do without changes > as well... > > I would suggest finding the plural version for realtime_task()... so > we know it is not about the "rt" scheduler, but rt and dl schedulers. priority_task() ? Or should we go with royal purple and call it "royalty_task()" ? ;-) -- Steve