Received: by 2002:a05:6500:1b41:b0:1fb:d597:ff75 with SMTP id cz1csp282144lqb; Tue, 4 Jun 2024 11:06:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU9uChJyva7KUJX36DnHrwHJIOENvM0XM1B5t/EnCG3oO5MENxUbC647dmHSo/SkP/U5agQWAI3TRPokpM6mKr4Q0ynPYEUrPeDrJKp3w== X-Google-Smtp-Source: AGHT+IFs8BEYOvaQKycRC1iIPzlaDWhHZr8GC4DX6Yuj0aQqM6PMz9bYK1/oI1NIVwG04hN7k2Un X-Received: by 2002:a17:90b:8cc:b0:2c2:137b:db18 with SMTP id 98e67ed59e1d1-2c2530c8f4dmr4907779a91.18.1717524394900; Tue, 04 Jun 2024 11:06:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717524394; cv=pass; d=google.com; s=arc-20160816; b=t8464n0Byjuaml3H1BwLAzwMevP837WP3hN67T04Nr7SEg6umTwJ34kRXQjUbYriVe 1+CmaLxtuK1ShfJ/75bwGZPLn6HkxsAipOGscYTjyBRcNz6fOBkhIJgCR0yZIXEHa4Jk hsPNS5PbiLFMYXdHqvmqd6izkLfaFMzv86ci8hnCLti9w3UuSmaviVA5DfP5a7UfMr5m JhF6nzOhQVtJKHVWoxVAxySqt4/9cKsPsZxZpFGHA1Nxq1IT8TQ3VYA6YwNkXbCWJodl HRIrS9omkEAkvBHcHr3fMc2lQZKg+Kku/Nak2DugdXIi2TyVvkUO/Qc9dkoJOmEKoZSH YiEQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=0Ymw5zXDic4congoakqXbMR2mGlryQF0NO8XZGs40oY=; fh=TtaG/GfUZQWW7psSWtRS8STYqO+E3HkfDslhKUMtv7I=; b=VKbf9eQG/z9ox73JzzMOTQxQkslz6Xnz9vkFI0DqYHIh/Zlpk4VDyi+pklvmuG3nY/ orANFuT4gfv+s4D0GPN8XSHRhxmlsL4U0dK6yjodMbGnHNCgDzW6kgQrTdZsl6p1LxjG 5xfdQnaF6us5QAS5cGVdrW68XNFElvXSRBeXi1Hfd8UcCp755vd98OnnelBF07coGQk0 8kH0WMzVVcnUk5OBZr2aFexrU212P+DGLOTwuQ9dEN1EHrMRot7kiA5cs7vpPXlablUu mfbkiQMn8y1estf/5GlkR832RyU5fk3zWinhushrHnfxMgnf/HjlOulTQnTn5Ou7ryB3 uJtQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=jPOs20eu; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-201161-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-201161-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c1c284e574si8458164a91.170.2024.06.04.11.06.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 11:06:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-201161-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=jPOs20eu; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-201161-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-201161-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id D34BAB245CB for ; Tue, 4 Jun 2024 17:31:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3C37B14A4F0; Tue, 4 Jun 2024 17:30:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="jPOs20eu" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 E20CA146D6E for ; Tue, 4 Jun 2024 17:30:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717522233; cv=none; b=nE9CxmxaLxoaJG0JVIDTxnI7zLs4abVgbjL1iV+FRby+tErokYWEV9EJXevunZatvCm+mVq5gXYhrInrlT14zaSYzkNVU/Ro/lF47Es2gYZEkHmJH6VyV3b2bl5H2FREBz3C4mRueCEYCv53/A0s7BdG9mDcPMpkmB5ijojRDcg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717522233; c=relaxed/simple; bh=wPLeSDOvdCECXcFpAN4ZDJ3MlHpY5M0TsqlTmyIL1Co=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=SusrS/G6ldlMz0aT5rgAUPYgw34ruwh0plM6JsRXbtG3d17e4qeM5+ku6b5cFyU0wWsDXelmVhWmWPWnLL6KIz5CuOaJkLmWZBG12VKcpzEqW/stoFUzf3hZPlEku44J3i6jcxFDljqOpolfyh/bPk2hp4LtJHNFHhTRs4kE3k8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=jPOs20eu; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1717522230; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0Ymw5zXDic4congoakqXbMR2mGlryQF0NO8XZGs40oY=; b=jPOs20euN/2usv/MtpH/Do5osRoA1zu25VeTP5zC38cLqu3hqDjHOY26f1iJ0eNtmWssvW Enfz8ZE9sGaRQFoZaGoi5HbrrCZcV9hWL+n8tBmYPQ06SB8TAUqHKz+tfT9IstWPpMakL1 i1nl0XteqrO12/a/tzP14XhyZXWLEMg= Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-594-y3csJvHFPZ-QhliCX7bYzg-1; Tue, 04 Jun 2024 13:30:28 -0400 X-MC-Unique: y3csJvHFPZ-QhliCX7bYzg-1 Received: by mail-ej1-f72.google.com with SMTP id a640c23a62f3a-a68f654dc69so146451766b.1 for ; Tue, 04 Jun 2024 10:30:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717522227; x=1718127027; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=0Ymw5zXDic4congoakqXbMR2mGlryQF0NO8XZGs40oY=; b=ImvOQz+Ko2tP2sHuK31/sCTiZIH77La34onbq2qfDgAjOiNlnR7s3f5bA7udKMu9SN wZXhnVk3DBaTkCNFX18iiopETToP7klubh2+W1GDVfC4CQ1uRhmUbK/B5C6kzUWjiysI BURDPP8ho/hQq/sl/ADyHzXyvvkBbIRaCyZ6MNpFJI3X1VC05r0Ylu7BuPfF6/fnEuka 1JbqLE6PZa0V7CU5Jm67fh5S4lcj+P5Zm8coB1jHnmh/AziBKVvzcwcBu/JJtMgkCSjQ PxJ2I3KTvfNTkrY1y0kD5kjgWaGvn7HH2WWi7lWdDlDarZ95hl2QuklzIn33cZzFwPaw 68fA== X-Forwarded-Encrypted: i=1; AJvYcCWJDHgHyuV0T9PaSjD2bITShw+tmsgY4v2snq7tiEbqTUURCV6Oz7oZCe2RcQtix1wlSd1guDAfVHnAAg4okL1RlBWscoFD9mF6Fc39 X-Gm-Message-State: AOJu0YyMD0QEzGypYQAW/Lpsi8SAEqPdarep+Z05KXGJOqKXIAtydVMc nKQ2sNQ3sd1DxyEU6hlfs7yry4aqhBL6USOUg8gcgT1UxtP3RTjy6cMmDnq354gsMmN2kdOAL8r yXsn+qwjMv47dtry38bpR9KLdtC/LH3Lf6jFOx4EwDb9Z0NH2YvoNdGvtCUaRgg== X-Received: by 2002:a17:906:79d0:b0:a66:19cc:167f with SMTP id a640c23a62f3a-a69a000e331mr13083066b.59.1717522227366; Tue, 04 Jun 2024 10:30:27 -0700 (PDT) X-Received: by 2002:a17:906:79d0:b0:a66:19cc:167f with SMTP id a640c23a62f3a-a69a000e331mr13081166b.59.1717522227015; Tue, 04 Jun 2024 10:30:27 -0700 (PDT) Received: from [192.168.0.161] (host-87-11-37-195.retail.telecomitalia.it. [87.11.37.195]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a69089e774csm325115166b.8.2024.06.04.10.30.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 04 Jun 2024 10:30:26 -0700 (PDT) Message-ID: <245df412-42f3-4a76-894c-b3481661f7b4@redhat.com> Date: Tue, 4 Jun 2024 19:30:25 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 1/2] sched/rt: Clean up usage of rt_task() To: Steven Rostedt 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 References: <20240604144228.1356121-1-qyousef@layalina.io> <20240604144228.1356121-2-qyousef@layalina.io> <20240604123745.71921f39@gandalf.local.home> Content-Language: en-US, pt-BR, it-IT From: Daniel Bristot de Oliveira In-Reply-To: <20240604123745.71921f39@gandalf.local.home> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 6/4/24 18:37, Steven Rostedt wrote: > 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() ? rt_or_dl_task() ? rt_schedulers_task() ? higher_than_fair_task() ? (this is bad haha) I am not good with names, and it is hard to find one, I know.... but something to make it clear that dl is also there becase rt/realtime is ambiguous with the rt.c. -- Daniel