Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp175780lqr; Wed, 5 Jun 2024 02:37:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW7TRZaD0nrZzAcGF2UhNRgcij31UYO5veG/5WVfacu2Z52JNd4zYkfAY4KMk6lAx5lcglYQN6AiG5aPrGoD0Ka5TRnzy9MWfkeXGzgRg== X-Google-Smtp-Source: AGHT+IGVXc7wYqffRuKWRS7ixLE6vTY3FaoI8mYNKMAV8FuSrJWXgMluBLMWs9QgrciUxZq6Snm1 X-Received: by 2002:a9d:760d:0:b0:6f9:3e7c:dc36 with SMTP id 46e09a7af769-6f943434f1amr2164781a34.9.1717580265363; Wed, 05 Jun 2024 02:37:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717580265; cv=pass; d=google.com; s=arc-20160816; b=jEg/y050pSKQjw5HZGD+ggo1S949H5JVrIZv68VzbPC62oVGw3l/tBuzo14ejfnZvc 0jlpiBFomdc+TzoYSh01yMT4qBw6OcsEUK+w6NIqlL/0HfoITP4eBbuCpNG1OeiGN3Ho FhtwDzUOYfktCn7+FSWPt4+iYlf5AY2Lt9vAPkl3A5eKr+tKRoZ8jvgZFOb6Fu0Pjpnb hB0b3s36mdqIkqtD4L5Pc5OIIfKRc3ViXCCrkeFUYFgOkPHL+glY3ENmMhm1vpaZsIlA XdYXs81UjosrOYVw5rh07NHrj7kY1nNgFdLMLrI+EDCl3BVIruzBJjjWB/51rCL0yuJs V1Cw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:dkim-signature:dkim-signature:date; bh=PqwF6CTuXeq+g+O4kDSfN50ZkhRT5kp25rJRvwHPMcI=; fh=vgxcLTZk8PuSa4IJEC6YkGuD3Csol/NfHp/EMzr5op0=; b=RzQ65M+0+MbpGxo10mK79HK7zXjkHgLkCBshbn+KVQDEd3xXgjzvGA1nAnPUIyEAFC 4s7Lxo7UOmTnZhjD0JVE4WjAgGpWiiL8vENlVajGeTRs8RIOf0YYpVhcTmJ4pEzxQU52 O7GWekoWmR5TaycUAHI8YCuurHKGA9ti2rW/gp0fp/1i2JIbqsiouB8fjjQ9ijxsoUvb ttWXLcBocivy7QVKc42tHc77y/G481ysju4k8BnCqna1evTr3y+3sBFYWkcBiC1dSXWj eL5SnejwldmWMc0kc5EL9n5R935FTv8P2a6U5BmPqLG/JBzyoS/NCZP0DSawcTFiy/74 +i6Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Zt2q2PrD; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=px31ShHV; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-202116-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202116-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-7952254f3dfsi8748285a.423.2024.06.05.02.37.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 02:37:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-202116-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; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Zt2q2PrD; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=px31ShHV; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-202116-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202116-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de 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 187051C23ACE for ; Wed, 5 Jun 2024 09:37:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 22708191499; Wed, 5 Jun 2024 09:32:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="Zt2q2PrD"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="px31ShHV" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 0335118FDB0; Wed, 5 Jun 2024 09:32:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717579971; cv=none; b=fkIQS5cPtytcPJtjPiuq51Ge/Ll1WsHlvIKJdUgwrqo7ELbvrgjX1/U9NMq1D43jBMQFFWPFeOsU2ijkS0ZMZLhYe1ZERLVtuw7qS+TEAO47XgtR/sEOFe3z40A6NwViZ8bl4a/w41sesyLIYy7gd0RnGtGBegC39JL3tiEO+d4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717579971; c=relaxed/simple; bh=XK/6HEEBqel68I4qK7gMpEapm1Fxtw7b6xoXSUyCcjg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=f618067mXSJcajGmgxVCXb6e9ULIo977C0ijYZlfguOafJVbAgndO26V4AmvwQ+eDT9P3VeQb4SaAHBpe+vM/V1WXGKsCrudpQufN/E3cSOjo+uv4kKrIdnuBjNYW79Ela3+DSh6751fw5d78AVz+syqUxYVtgq6aNWnkpQa0ZM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=Zt2q2PrD; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=px31ShHV; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Date: Wed, 5 Jun 2024 11:32:46 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1717579968; 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: in-reply-to:in-reply-to:references:references; bh=PqwF6CTuXeq+g+O4kDSfN50ZkhRT5kp25rJRvwHPMcI=; b=Zt2q2PrD6wFLokbQU71Rs1+GTzXllFXex0MMiwdX4MjEKr9z9gOJrUeQqam/hFdzaa7mki g/hkMmRLC1MiOnsh/Yey+fom476gN0shd6kiaX/dAGhd/+4ufEBEN1W/GKGM4A0I8QH2bb pjXC7GNwVpuEXtd/ZSGx44Uz83Qpqwz0Y6iPZZwvrRXR1cAzNVdjVn3zWTxQ8RWHDZoojN +ypTbR+g1vBz2OSUsMp3h6IUzxQ7JVppPJJeyXKpz43O3cmbDtnyQFi5UAkMkIbQYPFjLn JxQb86r8eLT91EG4urdxHmxOiienUDhAvctHZkpz3CNmFBGWc1uVMlOQTBlanA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1717579968; 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: in-reply-to:in-reply-to:references:references; bh=PqwF6CTuXeq+g+O4kDSfN50ZkhRT5kp25rJRvwHPMcI=; b=px31ShHVt0BtWQye4D7Rmd+CGJ4wSj2rDWjbybZnQrvi82q4iRNH0pTMA6Xwt7ctN7NP+n cyAi0Dc2KlPdQ/AA== From: Sebastian Andrzej Siewior To: Daniel Bristot de Oliveira Cc: Qais Yousef , Ingo Molnar , Peter Zijlstra , Juri Lelli , Steven Rostedt , Vincent Guittot , Thomas Gleixner , 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: <20240605093246.4h0kCR67@linutronix.de> References: <20240604144228.1356121-1-qyousef@layalina.io> <20240604144228.1356121-2-qyousef@layalina.io> 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=utf-8 Content-Disposition: inline In-Reply-To: On 2024-06-04 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. Can SCHED_DL be considered a real-time scheduling class as in opposite to SCHED_BATCH for instance? Due to its requirements it fits for a real time scheduling class, right? And RT (as in real time) already includes SCHED_RR and SCHED_FIFO. > -- Daniel Sebastian