From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=193.142.43.55 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796386777; b=R7tDloNUVChtkAOm8W7481XjpPaoWTkN6PAXnhU97Vx6uYD183fQQNzgkObeCKbmfPtW CK1Onm8ThKhpQLS2pn/RQOHhDUXipBPOtRrOWvgTikLe39C8IGBRVnD1HDVOsVixFe2cA dv6VeZ7V0uTWJ5vdzzhaIw7y63VUeX0AZIpqhAbXRbSZu7cQmloNUc+w5Y/5cC66DcOrG Yk2CZesQGPafFsb/XXBSZvvV4uEomvQlvbx4+VoZI1jU0SsZ63W7mgp+pVwainGNGismk zRrMQeYA78ttlI9zwxazNiWS1c9HWmoaedVG+zHiVO/RqVjY/YnCnqWA1rZlObh6oJQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796386777; h=DMARC-Filter:Date:DKIM-Signature:DKIM-Signature:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; bh=ND9Jv1IhAoCBs/hP+2DLSosJeDqzNZgJdC2A9UNDHT0=; b=reV68YMzrONmFdp2E8xsNpod8UEV4pDXrwsQPJlo3n+C92pR+/T/4mQmfjhGOlCXopze ucrDISF4eYWfkteEs9u+fK9u8Uc16VLB06TjwMx7RXEHw3VWXPFOalqi9F5LGlwGpmoTr jftkrkooI/ZtpLykddvVZvO8MqHcRPZVPp1dPm6Z4+4mDlCyYihtu3ES0H9i5OeHRcnMn bdp61qjh3PEF/sNKIVZA7c7B+Ml6uOpMVBjuEIxEmg/s3+QZi35xU3Ir8VWEdZzATQJm1 bfo51lCCpIX1szi8r0XtDLMrxf1NVGYN056SZcoFpfgG96fuhc3yiiZrnW2sUgn67ig== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=rsa-sha256 header.s=2020 header.b=AZHyIt90; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=GSgEoSrq; arc=none smtp.remote-ip=193.142.43.55 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8412F606A32F; Fri, 4 Dec 2026 12:19:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 8412F606A32F 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.a=rsa-sha256 header.s=2020 header.b=AZHyIt90; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=GSgEoSrq Date: Fri, 4 Dec 2026 13:19:31 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1796386773; 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=ND9Jv1IhAoCBs/hP+2DLSosJeDqzNZgJdC2A9UNDHT0=; b=AZHyIt90xOViCQQ3K89yu4cum096SYEWgmbJrHHPnOkXAhz13s0alEihfR92l5IeT9x8UV 1DHsI2R2kZZh05MZTdb2a2Zg3SKhgIJNrwAXXwuOVB0K3JXsfBfBZlqcopPJ7EdIM3awss 1isaYuaBGCkqVcNB4V2MVTJNV6YrtBD3ribCpwDjDn5zcCriOwDlLvVa3PoV4eAmu5bmWI 3xHsbxOjJt8QRUBBBIgJGNbCkDI1IqIQG/T9biIHtxHPRrxzRBkf1c1xquyNt7ftnq6AXT +ip/Vebba81/0yhxREJAcSVCwAU/6rWLgwOf74IrOPvnsqYpWwl2rbg7VeAbhA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1796386773; 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=ND9Jv1IhAoCBs/hP+2DLSosJeDqzNZgJdC2A9UNDHT0=; b=GSgEoSrqGVtfYf/2e19j7YXMloObKrNLA4TnJgh3nLvTmq5C/DNjVAbzBeM51aazjb5aGw xrBffiht4weZ23CQ== From: Sebastian Andrzej Siewior To: luca abeni Cc: Yuri Andriaccio , Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Valentin Schneider , K Prateek Nayak , Tejun Heo , Johannes Weiner , Michal =?utf-8?Q?Koutn=C3=BD?= , cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, Yuri Andriaccio Subject: Re: [RFC PATCH v7 06/29] sched/rt: Disable RT_GROUP_SCHED Message-ID: <20261204121931.USF6yN22@linutronix.de> References: <20261109163616.195264-1-yurand2000@gmail.com> <20261109163616.195264-7-yurand2000@gmail.com> <20261204102641.fTr_vKKg@linutronix.de> <20261204124609.1c423198@linux.fritz.box> X-Mailing-List: cgroups@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20261204124609.1c423198@linux.fritz.box> On 2026-12-04 12:46:09 [+0100], luca abeni wrote: > Hi, > > On Fri, 4 Dec 2026 11:26:41 +0100 > Sebastian Andrzej Siewior wrote: > > > On 2026-11-09 17:35:52 [+0100], Yuri Andriaccio wrote: > > > Disable the old RT_GROUP_SCHED scheduler. Note that this does not > > > completely remove all the RT_GROUP_SCHED functionality, just > > > unhooks it and removes most of the relevant functions. Some of the > > > RT_GROUP_SCHED functions are kept because they will be adapted for > > > the HCBS scheduling. > > > > What is not obvious to me, will RT_GROUP_SCHED remain after this > > series? > > We started working on this patchset after looking at > Documentation/scheduler/sched-rt-group.rst, which mentions deadline > scheduling of the real-time control groups (this is what we originally > tried to do). So, the plan was to change the RT_GROUP_SCHED > implementation, but not the config option, and to stay with a > compatible interface. > > Later, we were suggested to go v2-only (if I understand well), so the > original plan changed but we stayed with the RT_GROUP_SCHED config > option. If this approach is wrong, we'll change it. The old is broken in my opinion. I tried to get rid of it because people trying to use it were always complaining it is not working right. It is v1 only, too. We don't do cgroup-v1 these days and PREEMPT_RT support lacks some of v1 as far as I recall. The general advice is to do v2 and don't care about v1 since it is legacy anyway. In https://lore.kernel.org/all/20261123-sched_dl-v4-0-d523e4d960d3@linutronix.de/ I tried to rip it out but then I got yelled at and now I try to mark it BROKEN so it can be removed later. If this HCBS is a new thing, it might get its own name and there is no need to put it in RT_GROUP_SCHED clothes. After a few patches later (in this series) a few of those sysfs files were removed. So the interface is not the same or missing something. I can't tell if an application/ setup using RT_GROUP_SCHED can seamlessly switch to this HCBS replacement or not. Therefore, if HSBC is just fixing RT_GROUP_SCHED and replacing it piece by piece maybe name it as such. Also as part of my series (referenced above) I was going to move the global DL config out of /proc and so uncouple it from RT throttling what it once was (which is now limited to RT-GROUPs). But if you have some global knobs that you would like to have I would suggest to have it sysfs and part of stable ABI and identified as such. So that it is more or less obvious that it is a new thing maybe with new/ different global switches if any at all. Sebastian