From mboxrd@z Thu Jan 1 00:00:00 1970 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 0316F44B666 for ; Thu, 7 May 2026 15:35: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=1778168133; cv=none; b=fVWVP08Tu0rJXYqYQUEWSSXi/X6UFdTG0UOBh75m2gt6I7tN2UnCRcZCVrOosJ/0zy2Jb9BiUORzrV2ZwpWjIf3u9rHeFAOfV+rm/V8abS6kKec/I8FgtbsN0y1rDQ1z9kK1uVitXs4Db0Tjv7Wwt1sUUozf/59rfoazoJfPPjI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778168133; c=relaxed/simple; bh=Z+FLBeYVxO9IGRAQU0UOIOml4DBMBcZ5juQ6lOnEHLI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=e2XwRdpb5zaNoeXPnkHDeL3dFDYNQhn9JTkAQ/1u/g2OQfiPpRyRtRAjirBDRzUBMgRgALjx2Un4z4JNJsJNTYdEAv/+CGFTRPDMTY0V4fyihlkxV7hTdGeP+Q79gbb3QVMfxMWUrWKCYP4ggrlZ4DpFawUtbccxx3VGDlbhY/A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=WbQqoo99; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=W2M289s8; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="WbQqoo99"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="W2M289s8" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1778168130; 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=NTrCVcuxmKPRGyd6thiNn9c5BC1qhIeMbSmnIpsLUoc=; b=WbQqoo99iGwWj1IyRpwNUF77c0rKZvp4TFDNOsnDVxU/nlaTfiS529driNK2kRUDpfvBuB j+wpIXA3UHwRiWhiqkcz6qz3uxVGgZZ7hNuVEYa73e2tMUQ5lzw0OQlOKqapHlSqFH5+LG 3K7nx0LK/mx9q+hYyBt1BltszN7+KSk= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-644-WoxWF_FvPFyy_pmh2DhlDw-1; Thu, 07 May 2026 11:35:28 -0400 X-MC-Unique: WoxWF_FvPFyy_pmh2DhlDw-1 X-Mimecast-MFC-AGG-ID: WoxWF_FvPFyy_pmh2DhlDw_1778168128 Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-48a548b585cso6088755e9.2 for ; Thu, 07 May 2026 08:35:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1778168127; x=1778772927; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=NTrCVcuxmKPRGyd6thiNn9c5BC1qhIeMbSmnIpsLUoc=; b=W2M289s8ahKSn85o4er0OpQmS7qxewXMRthIVAG730X/b09SvKi4hkX9ijG6xrVOJ+ WKLDG4m2vVc7uUX9Ua8N3mssmir8fVn7CqOJZnbUlg9siZu5jl/PJb2RJWcB99BPBqxe +u3ZO3jHCl93y3w9FfPdyT5yGyU+wHvgFfSKV02wM0n1zmK2ZEQss2jgZiKYoUdWqS6C V8nYKM8EQ3PkyAgr3XUzep4tvGlQixrlo5Ze7D/EBMgJOCZXarRlrZBXfXAsp/+utK8j H2bhozjho8UzxIpIXsQaFXP/rp3UIOdAM65rnPwn2UA0Yxgk4K9NYHgaQvXXuuobo0jj g91g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778168127; x=1778772927; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NTrCVcuxmKPRGyd6thiNn9c5BC1qhIeMbSmnIpsLUoc=; b=Yh9GPWTozJPd5VVCein6bMJUJFMb73J1R84SEm7koGtK8VuPb3xzqMrNHxOZlonNN5 PyKL2J7rKPN2mGkoxHMSM3gDDSj/UTEJjAMwfklEPVKBLqnBq5uPa3mdj5OeiP32iA9c GA3ExBYNlZmKcQJNHrXmZKKZjTYR3SoofqMAdTdgxo/R+qMXT3B0pL8t8IHqeJTmV3jh iCOq+GcMtKnT8QVtaT7ED/GU4B6YZGKXFJXc05Lz7R2Z2LZSni9315fYxfumqCdJpdTW KEN+MPtRiEqqMTGL3z++JrDId4RZswkBIxxvhxoviPtqSCg3FVVuYCjfZxMGaMtNQen7 juGw== X-Forwarded-Encrypted: i=1; AFNElJ/KeU6HRAhGZtQWfegXxpXNzEm2l32Wo3c14gptZSzzBSf0+MqJhSGU1jS78AtQ1SQFHKH/oUCKBpPFBfg=@vger.kernel.org X-Gm-Message-State: AOJu0YzcmMn9UkAU+Q6AfzDA30+ICgsYOaDLxJn03YF4UxfuvSTIyy0X kfhejeRP4ONKiqJriTMS0gGJXaFw/shVVGrzxpVlV6PA9HMplpZI1K3orgdMvcWWJT2c4TKBJxN HvvqobY+lBTE9cqSruOKYRixd6SXKhR8rzwnErDNIb1bg+C6LzgvYgneZWWrO0gFJ0w== X-Gm-Gg: AeBDieulqexVF78pLh4jhv5jtW5LgPn3ymK0jdAlZQ2D7MmkUGPmLkv/W31FxL/uQSC ExTrvaqgJq0kZxMaXPbJkvZDdyjrcO6M7f8uKI4Y5c+zX50LUomYyFSblwmFwN4NYnL8/dAxg28 UEH5vKWK/oMfc8NZOv8OGNA2khdsqKEuVgb4MEFHwMYgqXrDddaggQVQJ0UZleKgxN+HMODYoX8 WJR75gFJsi62rTTEBIf39AwFwrqFg+vp/+arYCqdiQcVIV+TfjVVsGnzYrOoJBZPlV4mS6xDxi0 p+kLaDySNPd637ECashdexWUBn7ki3X4zEfQuGG/ySDm5on/SL2UUbOmmEJ6ujPX19EjEL9g+21 axnuI4TzWwmXVp3olDn47OUxAER6JMooiFOjlSCf/1MEBuvqBCzYfkna6Of8vxQ== X-Received: by 2002:a05:600c:a111:b0:48a:7b7b:c2b9 with SMTP id 5b1f17b1804b1-48e51e0bb44mr109956625e9.4.1778168127384; Thu, 07 May 2026 08:35:27 -0700 (PDT) X-Received: by 2002:a05:600c:a111:b0:48a:7b7b:c2b9 with SMTP id 5b1f17b1804b1-48e51e0bb44mr109956235e9.4.1778168126915; Thu, 07 May 2026 08:35:26 -0700 (PDT) Received: from jlelli-thinkpadt14gen4.remote.csb ([176.206.7.99]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48e5312df8dsm41282575e9.18.2026.05.07.08.35.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 May 2026 08:35:26 -0700 (PDT) Date: Thu, 7 May 2026 17:35:23 +0200 From: Juri Lelli To: Peter Zijlstra Cc: Yuri Andriaccio , Ingo Molnar , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Valentin Schneider , linux-kernel@vger.kernel.org, Luca Abeni , Yuri Andriaccio Subject: Re: [RFC PATCH v5 19/29] sched/rt: Remove support for cgroups-v1 Message-ID: References: <20260430213835.62217-1-yurand2000@gmail.com> <20260430213835.62217-20-yurand2000@gmail.com> <20260505150144.GE3102624@noisy.programming.kicks-ass.net> 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-Disposition: inline In-Reply-To: <20260505150144.GE3102624@noisy.programming.kicks-ass.net> On 05/05/26 17:01, Peter Zijlstra wrote: > On Thu, Apr 30, 2026 at 11:38:23PM +0200, Yuri Andriaccio wrote: > > Disable control files for cgroups-v1, and allow only cgroups-v2. > > This should simplify maintaining the code, since cgroups-v1 are deprecated. > > So while I love seeing all this code go away; I very much doubt we can > pull this off. People might actually be using this. Quite a bold move indeed. :) > I think at best we can hide the whole cgroup-v1 thing behind a CONFIG > and eventually remove once no distro is left using it or something like > that :/ This however means we will essentially need to maintain 2 versions of rt.c until v1 is gone? AFAIK v1 rt group implementation is quite a substantial amount of code. :/ I certainly see your point, just thinking out loud about what options do we realistically have. Once HCBS is eventually merged, can we consider v1 RT GROUP feature terminally broken and just point people at v2 if they report an issue with v1?