Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp1224964lqb; Thu, 30 May 2024 04:22:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWOBpIOwxrTW6ZRAQl4hPgfjt8+9AyFtr+sRHNCEQ51Qs3/2JLsD8CZQf87JDIcyrpJqWZVOqCtPfsuZQf8sd3qoULz5ell3FcEG31Ogg== X-Google-Smtp-Source: AGHT+IGPuyCaPlQMBEoKJwspD1rr9owrGPx+7iuuDKDOcFR3LN8ofgv5ru/S4UG4amXEiq42/5pm X-Received: by 2002:ac8:5896:0:b0:43a:b15d:bf69 with SMTP id d75a77b69052e-43fe932728cmr23339111cf.46.1717068140267; Thu, 30 May 2024 04:22:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717068140; cv=pass; d=google.com; s=arc-20160816; b=kpxv/FYYQKNFlzPvZa+Cz7wd8btd/f5Dj4YrA74lngdtW8zx0ifiVaa+eL3Q/cSX7+ RQMv/sDtV3FpYZHuBuripI/Ud7cMLZw91eGp0vFPp79qH3/OBiYyKU1CE3I9/bkXyio5 wCDNIyR7J2+ASyJKGCPNHSTnapLePZ6nqH7l8l2S4PHT1uBpO/RctII5CIEnwRvm6TWG Sbpig0C7VMLKDfdCOjJ7bIScS9F28GdTHj10l4nfnvkVVhB5RyRwhSPlOLVqu18sR616 k3sbbShqehL2kekE12QUgt+VfUOev+0a2jyqWT8ZTk6vhZauQyd4RyR8/hnj6XmiaTf/ nbVA== 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 :date:subject:cc:to:from:dkim-signature; bh=dH4BG/CKSo6jMt/U3mBL2fbfMm4MpAzh5hyuRszV+t4=; fh=f2hgRvnXJSVuuaDFNiLuNYKn8MVFnHzX1WIFG5IJJvI=; b=KeXrtgjaoLD/18iJG11WGAkkGAivCNq/p/mfb2fl5MOOOlPzmF3+hFFuoV6LMX26Do of5W/35CuzCQxBY0DqWjBkPtafB82Yx2OHn2Ic+FQf5yPhDufX3Mi6Lz8yMBCArskJsW RmkEKM9vfpN5NviZ9lAqegXQzKfD5mdEKjJr0jXJYtaIjOPto7gs+ltBdEojnX2YomwP refUNBBrdLd2R3UHti29XTjIqLkFC3gTA8ICLIuEOrYSP0zxStq6JQXtSysbhasOvRaG 4iaRXbt3po6WM2GFgUicgNLik000l795UWcto+BAzdX4Mf4w0Y3vKkpqgOCYdfkw2QKZ kjOA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=b88UeGks; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-195299-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195299-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-43fb18b2fc0si23684361cf.507.2024.05.30.04.22.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 04:22:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-195299-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=b88UeGks; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-195299-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195299-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id E6FFC1C22654 for ; Thu, 30 May 2024 11:22:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3DCE2183A63; Thu, 30 May 2024 11:20:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="b88UeGks" Received: from mail-pl1-f193.google.com (mail-pl1-f193.google.com [209.85.214.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2624B1822E0; Thu, 30 May 2024 11:20:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.193 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717068018; cv=none; b=gNS2M0aYdp09o/qNhPRQonH8cacSKozbSD0TGPyW08eNCp6deye1PKPS1VMb/GZI+EKH1j08Qi4RistlJFKzLlxKFVSobgizcjH7RcW5qsuXu1CvCAKJEL1pAgu62y/was76ED4HRDTXqXp2otHUcd6nz38vXs3wQuCoFzet1iI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717068018; c=relaxed/simple; bh=Y154zJjweZqXiEFejTlLKuxlmlIxiSlX1+quATRaPS0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=LByuFAHY/+YDmVhL2EoP+nkOYbNab4zCWTfyqqCqE3n87yTWaj5P30SvFYOJutXymiaoi4NzA1MKFqKKXO9VWxCRWOKc7KnM7P+ZdQqiXQBiPVco11ENszi5C6ITEaplvFrJKHdM7gY21wM754aP0j7+6/eyH5beuV0CtPkLvC8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=b88UeGks; arc=none smtp.client-ip=209.85.214.193 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pl1-f193.google.com with SMTP id d9443c01a7336-1f48b825d8cso6851605ad.2; Thu, 30 May 2024 04:20:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717068015; x=1717672815; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=dH4BG/CKSo6jMt/U3mBL2fbfMm4MpAzh5hyuRszV+t4=; b=b88UeGkszAtrtou4bmFQVpE6qD1mQyZ/9OlLe5Qrpyg1Jb341TiTK4bxDcqzEZQpfl BFCDUCvM0kojPHmKaF7D30kNBUcqCEQnpfukAX6wLfvD2BEL4VC0Ta0xttaLTotoQ7H9 H7n5ToIQC7SxZabd5frmCkZsYzEvgC6SXFVJF4aoeD6LyUUjAdRSD7mZ+G/wQuPzbyd3 H2nGEKhDXJuFQ30rn4utiIbs2IfsHxfKu42GIFUVf3SWPPvmUcciWF2wuNuT+/LGYYiC erqln32oRhMUbajUhPu/vSzG/ZxvSUX+qI0QCG8xnb2D0G75kVd/MB5h04SaAa9PqK9/ T25w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717068015; x=1717672815; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dH4BG/CKSo6jMt/U3mBL2fbfMm4MpAzh5hyuRszV+t4=; b=xCpseu04GU8UBFd+80G5m17Nu4BMM4EfYovDMzeazSIO4P/FrP8X7jZVWiLedJxJst XVi4Dcg/tBLnVtpw0Vy07tItU2+WBRU2a2axIbN0VY+uiQIxV+Hr1OR1lOudGNChLebP 1Nh0ZNrvckQV5hAnxizdU84aRjU39JiP46qe44EZMFIJn0P4vZzszCsIUTe2Abao7+x0 jfOp8tc1u4d5tZ9S5jb5iKAu6pA1mbRmzpnMMSVYNuz25wSL27+gcfQXDXbIxDYmLtvA EyFw3MEEb2ri2msEnc9sbKpqh+hM9lt1UDW6vUY1ONoCQucG3eYgNidszNdqe289o/NY puSw== X-Forwarded-Encrypted: i=1; AJvYcCW1Sk32kZWotoKFD/gBeA301d4kpeS/WihJmbq+1Q872bsn0zp55eIa4oOY1OYvFz5uEE1CLnQwojXCq+EUhmzjMTNr+QlHOYC0VlC58zzMD1/z5ej/MtnXV9G/allcligH2cZcgGXa5epK5pt4LUJkeF6+0TpyJ0yQS8v6By4HkxrCQX5hLNzrRH+wl3bbz0oR7nPvvKO1Sc+NaDZ90Nf2jQyYc9B+uVqKoeYSLDZBgNqyB1z/ZXQpCUnfg3Lq7R3H5ydX8p6Crv40HHSFpnXX X-Gm-Message-State: AOJu0YyX9wG48nzwM8SEmKYv89SjWJAKszzwg1Of0/zfe3l2epTb+l2B ZCL9yhOrtF9wFxb3mUAfsR2yMugBdROlvxk04W9p8F+tRZily4sL X-Received: by 2002:a17:902:ef45:b0:1f6:1a91:e744 with SMTP id d9443c01a7336-1f61a91e96fmr18511035ad.21.1717068015407; Thu, 30 May 2024 04:20:15 -0700 (PDT) Received: from localhost ([212.107.28.52]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f48bbbcaf0sm81594105ad.48.2024.05.30.04.20.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 04:20:15 -0700 (PDT) From: Celeste Liu X-Google-Original-From: Celeste Liu To: Heinrich Schuchardt , Anup Patel , Guo Ren , Palmer Dabbelt , Paul Walmsley , Huacai Chen , WANG Xuerui , Thomas Bogendoerfer , Vladimir Kondratiev , Gregory CLEMENT , =?UTF-8?q?Th=C3=A9o=20Lebrun?= , Michael Ellerman , Nicholas Piggin , Christophe Leroy , "Naveen N . Rao" , Sven Joachim , Yoshinori Sato , Rich Felker , John Paul Adrian Glaubitz , Russell King , Florian Fainelli , Ray Jui , Scott Branden , Broadcom internal kernel review list , Tony Lindgren , Thierry Reding , Jonathan Hunter , Arnd Bergmann , Mykola Lysenko , linux-riscv@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-rpi-kernel@lists.infradead.org, linux-omap@vger.kernel.org, linux-tegra@vger.kernel.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-sh@vger.kernel.org Cc: linux-kselftest@vger.kernel.org, bpf@vger.kernel.org, linux-kernel@vger.kernel.org, Lennart Poettering , Icenowy Zheng , Celeste Liu Subject: [PATCH 4/6] powerpc: defconfig: drop RT_GROUP_SCHED=y from ppc6xx_defconfig Date: Thu, 30 May 2024 19:19:52 +0800 Message-ID: <20240530111947.549474-12-CoelacanthusHex@gmail.com> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240530111947.549474-8-CoelacanthusHex@gmail.com> References: <20240530111947.549474-8-CoelacanthusHex@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1725; i=CoelacanthusHex@gmail.com; h=from:subject; bh=Y154zJjweZqXiEFejTlLKuxlmlIxiSlX1+quATRaPS0=; b=owJ4nJvAy8zAJfY4pvNJRPo6U8bTakkMaREJNwz83B+K5vRMSbg2N3g2v23ulidmG/9Zikz5N r1Q2vnFpk0dpSwMYlwMsmKKLGI7n75eVvrowzJekxkwc1iZQIYwcHEKwES4nzD89/SoEmo8dO8G n0eO7Aw1cZt90Zb+dnteRPD1pkVFLBEsZmT4umrj9jtvzS78ub1pD3/1w7Mzvl6+8T9jVc6dBXm cuVf72AEUHU7d X-Developer-Key: i=CoelacanthusHex@gmail.com; a=openpgp; fpr=892EBC7DC392DFF9C9C03F1D15F4180E73787863 Content-Transfer-Encoding: 8bit Commit 6e5f1537833a ("powerpc: Add a 6xx defconfig") said it was copied from fedore's ppc32 defconfig, but at least since 2015-06-10, Fedora has dropped this option.[1] For cgroup v1, if turned on, and there's any cgroup in the "cpu" hierarchy it needs an RT budget assigned, otherwise the processes in it will not be able to get RT at all. The problem with RT group scheduling is that it requires the budget assigned but there's no way we could assign a default budget, since the values to assign are both upper and lower time limits, are absolute, and need to be sum up to < 1 for each individal cgroup. That means we cannot really come up with values that would work by default in the general case.[1] For cgroup v2, it's almost unusable as well. If it turned on, the cpu controller can only be enabled when all RT processes are in the root cgroup. But it will lose the benefits of cgroup v2 if all RT process were placed in the same cgroup. systemd also doesn't support it.[2] [1]: https://bugzilla.redhat.com/show_bug.cgi?id=1229700 [2]: https://github.com/systemd/systemd/issues/13781#issuecomment-549164383 Signed-off-by: Celeste Liu --- arch/powerpc/configs/ppc6xx_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/powerpc/configs/ppc6xx_defconfig b/arch/powerpc/configs/ppc6xx_defconfig index 66c7b28d7450..c06344db0eb3 100644 --- a/arch/powerpc/configs/ppc6xx_defconfig +++ b/arch/powerpc/configs/ppc6xx_defconfig @@ -12,7 +12,6 @@ CONFIG_TASK_XACCT=y CONFIG_TASK_IO_ACCOUNTING=y CONFIG_CGROUPS=y CONFIG_CGROUP_SCHED=y -CONFIG_RT_GROUP_SCHED=y CONFIG_CGROUP_DEVICE=y CONFIG_CGROUP_CPUACCT=y CONFIG_USER_NS=y -- 2.45.1