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.129.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 BE25E3A4AA8 for ; Thu, 15 Jan 2026 15:56:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768492574; cv=none; b=mhBs7L63nb80ycNaKrfT4jKLGN/ssaxWKlngEdghfdCdRI6Y9L32yWHRKH9AKB9tbzQvZN1Er8k1ZQHQbFaIN2taPSjWJRg+rBXOvXOa9YHZr649h+H6EUEplstQ2DTAX717tzyDh55kSs0my9mG2CjYe0J6sFOvoB1fJxXJ7oU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768492574; c=relaxed/simple; bh=KsMzefGOWhQozLDVOtXhdaSy2ClPFZdvRHkjp/fq9ng=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=tFteA3YbgF5icTO4JeZYg7/Cj5qPeFalfvI99vVaiTsKcro67E6yCrnBgOVNZ3Fdy+zvcWIEHFFKbxqXMElrUdLe2v22wjXTFweIv+9e4Z1JPdHC4R9O3bZrH5ZMHpTTFmdGoUwPd1lpNIPmOv9r3Clt+/qMEkLQJtlRS5cBMoo= 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=hoTn3Tes; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=nD3ldzDi; arc=none smtp.client-ip=170.10.129.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="hoTn3Tes"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="nD3ldzDi" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1768492570; 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=kN5OSWAHdJ2+oR5WaIJonjzu3fQQwki0NySZhGz1PmQ=; b=hoTn3TesmEhZNNC2GSVqOrVTch2E2ZfvWIteFjuTARF6okyKvRFPCTQW6B+iFUxljhLcL8 YT4+WzxfpoSBPShtGUa428WAw2H6+X2jeSBaeM7xqDKlwE/OTgnTv5oYCjZbRZnOrTHWlQ ukORu9uCdYr5xRqr6q3OC08X0WEJug8= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-223-M152kW-MOvWOD0uGXk9wgg-1; Thu, 15 Jan 2026 10:56:09 -0500 X-MC-Unique: M152kW-MOvWOD0uGXk9wgg-1 X-Mimecast-MFC-AGG-ID: M152kW-MOvWOD0uGXk9wgg_1768492568 Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-430fd96b440so678754f8f.1 for ; Thu, 15 Jan 2026 07:56:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1768492568; x=1769097368; 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=kN5OSWAHdJ2+oR5WaIJonjzu3fQQwki0NySZhGz1PmQ=; b=nD3ldzDiTMRkKBFyvdiBTtXmPw5eVT3vMDwEM8fQDGtx+EOutyK4QJTefCF8HseE/Q R/Mawefzyn3zBHJPpeTPPJHYLKu37FlIv7kXaoqCzYa2+lrLHQu2BqpheR8MVrcatINq oba/2oEXhs0aUDUDuNz+W+xIiayms202c3wJ0v1H0peRL3SOHRIJKdDzDvwsJoxZPK44 K7pry2dtJEi6D1i8EiWqsdRxGKTcQPstNEdG8/d5socl2YZMsCrjeUZwcnn1/Xga19cA 5+1Xkv82FbfODD84XEAlZQbfnVBhT4WeqhjUIs3n0X46PQtx44hwp8xCW6gFLckXh0bA usDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768492568; x=1769097368; 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=kN5OSWAHdJ2+oR5WaIJonjzu3fQQwki0NySZhGz1PmQ=; b=eHuXG9pUCvXpFq837f2cS2AydrXRDxm3eEcTq5gwDfzrvPd2933QvT/cecqMwDwivX US8kIisnutCtPnpLnUgZTlONWiOOSyuqdy6a07Y2TM5xw/FfqsKdGDaDoCJgky74fFx4 pBCsGjU7fsIMtuqnD6/UiEHB9HM573wAdUxg2G4Wcm+fjkVX4v1GRyMz1yGuMvQfaIkx Kt8jR1JWorGUMwobK9NeNI3qzx0oIEy+Qp39BovIp4B9Re7RbQJZgvN5Wob0oFx49Eb5 BYzZDPAOZ6sq04OjK6PH6UlEr4u21tvBuKsMxEwM56qnIkXDynconUMYkQvqQIFsn8Um dczA== X-Forwarded-Encrypted: i=1; AJvYcCVwomNEoeJJPU4GMdJCrlXj8SyvfUDO+rkf0srwi0bFNZ3HJT2Fjr98zZTHqtr3L1/033ERWw7gMGpQWt8=@vger.kernel.org X-Gm-Message-State: AOJu0YzB5Xp5f3Z/FTFvAXzUd2wTrrsIs8Oah+YGZvuDpy/nUiP21AQl VqU9cEOowh8SUrTjXD7OnYrcZbyg/f4kOL3JHbq9KX4fxwYfmujjZgiilvmF/Fle2ziD3VNBx3y NQrHCn4q/sze8SKtCys7cSD3/c+3ZgGUciD41vFGgyaqhKvWcQcihk+HHiQglGE+IHw== X-Gm-Gg: AY/fxX6lA7cdwZEyARuV5Pl/da1fgiukKAPRGET3PCsEfAP49xMK3Av8CPg4XbQIL7t cx4Fimowl10ynUqxXntySq3CfDxgAF5zf28QTO3Pfycb64e57xvIGzD00SME+arw1X1w7d8fglV 8UjjZpROcEbVuYjL/CR1wOvw6GCwBhsIX3+y76RUq+bhdV45t79QCoBGOtL20JbxJK2l8+3kA7l 2Q8BlGbK0CBNgBgfBtOGb1GgqIu/hXH84tzvpNt4N0zdo0URHNxS83a3uyMai5nbpgr9evRBEtq hVKdzqx97SfwHxqbt3dpvUCaLEzxA5sj1UpVRxz/fkDko2HELcOrwmlV0jhMZ8bJNrBZFKxRHHS W2FX/+EGYgcDzlcD2lv+iQQLT2217dtdqhMOsj1nx X-Received: by 2002:a05:6000:4013:b0:42f:9f18:8f59 with SMTP id ffacd0b85a97d-4342c55decdmr8818363f8f.42.1768492568162; Thu, 15 Jan 2026 07:56:08 -0800 (PST) X-Received: by 2002:a05:6000:4013:b0:42f:9f18:8f59 with SMTP id ffacd0b85a97d-4342c55decdmr8818324f8f.42.1768492567746; Thu, 15 Jan 2026 07:56:07 -0800 (PST) Received: from jlelli-thinkpadt14gen4.remote.csb ([151.29.129.40]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-434af6e1b7bsm6632137f8f.34.2026.01.15.07.56.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Jan 2026 07:56:07 -0800 (PST) Date: Thu, 15 Jan 2026 16:56:05 +0100 From: Juri Lelli To: Yuri Andriaccio Cc: Ingo Molnar , Peter Zijlstra , 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 v4 05/28] sched/rt: Disable RT_GROUP_SCHED Message-ID: References: <20251201124205.11169-1-yurand2000@gmail.com> <20251201124205.11169-6-yurand2000@gmail.com> 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: <20251201124205.11169-6-yurand2000@gmail.com> Hello, On 01/12/25 13:41, 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. > > Most notably: > > - Disable the initialization of the rt_bandwidth for group scheduling. > - Unhook any functionality for RT_GROUP_SCHED in normal rt.c code, leaving > only non-group functionality. > - Remove group related field initialization in init_rt_rq(). > - Remove all the unhooked (and so unused) functions from RT_GROUP_SCHED. > - Remove all allocation/deallocation code for rt-groups, always returning > failure on allocation. > - Update inc/dec_rt_tasks active tasks' counters, as rt scheduling > entities now only represent a single task, and not a group of tasks > anymore. > > Signed-off-by: Yuri Andriaccio Reviewed-by: Juri Lelli Thanks, Juri