From nobody Thu Apr 16 12:25:04 2026 Received: from pdx-out-012.esa.us-west-2.outbound.mail-perimeter.amazon.com (pdx-out-012.esa.us-west-2.outbound.mail-perimeter.amazon.com [35.162.73.231]) (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 2E5903D34B6 for ; Fri, 27 Feb 2026 17:30:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=35.162.73.231 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772213438; cv=none; b=ZJMz2OJVjQm+Pkqp1pdPmarOGEBNq2KIw2Q8QE1Wh0yKCHJ3mT1XNeT0tUXoCqzstPCJj9PNaoW97EDl8CzBde1u+ZjvNx38EeYRXE0sPwSDIj8DefQuEjr8wyONwWVzQIanp0tqs8A6x2ERTLjOvWOWOa7Pp1P/8LbOw6mquGs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772213438; c=relaxed/simple; bh=uzL81NdowuEB5kga+X//Gr7llw4mzlHY4VYFQjCY7vA=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=ghgPIuPu8A/bFoLswL0Z4/slrXbbyFZQy7exwUjavC/YmTacTOjntbV2GBdxKQUFEE4NSY74Rv3U0zrVXIY+JjgRrEAULBGHOl/r6/OftKcDIvgKim0lT56IcWGuUdJvyiOAgSgo28JkBH11XPOm/IdPYcdo7OPeV1J3521lxik= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amazon.de; spf=pass smtp.mailfrom=amazon.de; dkim=pass (2048-bit key) header.d=amazon.de header.i=@amazon.de header.b=mybDu1zO; arc=none smtp.client-ip=35.162.73.231 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amazon.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amazon.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=amazon.de header.i=@amazon.de header.b="mybDu1zO" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.de; i=@amazon.de; q=dns/txt; s=amazoncorp2; t=1772213437; x=1803749437; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=BjDBSlx//hTADNoQa4JZhzpJqC95WFW31VahaPMScE4=; b=mybDu1zObWlRjkBl9SZXbDW0BbPw86x9I3rFUQp7ACbWqHAexi2wRMVn Pj3Is88/zEtU/BK07hpk3+ZafZb4RyZl0c5xg9DBlqJHNIod1y0WwxxVc hQuv5x4N0GwsnJRJ2a6sZLJMwiRKoH6eYXt5URgu8kjx0QkKesDQStW/+ FlST4yq7pathHVigpDBVQW5DYF+tUZyn40fS4NCe4Ws5nUax0xXruW0y9 4kgtPjzjzgcdtcWi88jcPtF9hYzAps+kEPg2hgjRIN7QQPxxdHOK3sW+n bhQZcX4tvi7l5mRZvwMc75T/2xHVFpJBI9vrpWAXBYajJC29Rj7YyVKaT w==; X-CSE-ConnectionGUID: AiQwjVfaSICS3tvtsacn6Q== X-CSE-MsgGUID: tS6vyvwbRhCokZ0O7Na4Sg== X-IronPort-AV: E=Sophos;i="6.21,314,1763424000"; d="scan'208";a="13763530" Received: from ip-10-5-9-48.us-west-2.compute.internal (HELO smtpout.naws.us-west-2.prod.farcaster.email.amazon.dev) ([10.5.9.48]) by internal-pdx-out-012.esa.us-west-2.outbound.mail-perimeter.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Feb 2026 17:30:34 +0000 Received: from EX19MTAUWB001.ant.amazon.com [205.251.233.104:15872] by smtpin.naws.us-west-2.prod.farcaster.email.amazon.dev [10.0.26.67:2525] with esmtp (Farcaster) id 38c747e0-1182-470a-adf5-4411cd93079b; Fri, 27 Feb 2026 17:30:34 +0000 (UTC) X-Farcaster-Flow-ID: 38c747e0-1182-470a-adf5-4411cd93079b Received: from EX19D001UWA001.ant.amazon.com (10.13.138.214) by EX19MTAUWB001.ant.amazon.com (10.250.64.248) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.2562.37; Fri, 27 Feb 2026 17:30:32 +0000 Received: from dev-dsk-darnshah-1c-a4c7d5e9.eu-west-1.amazon.com (172.19.90.4) by EX19D001UWA001.ant.amazon.com (10.13.138.214) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.2562.37; Fri, 27 Feb 2026 17:30:30 +0000 From: Darshit Shah To: Darshit Shah , Ingo Molnar , "Peter Zijlstra" , Juri Lelli , "Vincent Guittot" , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Valentin Schneider , Tejun Heo , Subject: [PATCH] sched_ext: Fix preprocessor #endif statement annotations Date: Fri, 27 Feb 2026 17:30:28 +0000 Message-ID: <20260227173029.26120-1-darnshah@amazon.de> X-Mailer: git-send-email 2.47.3 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: EX19D044UWA001.ant.amazon.com (10.13.139.100) To EX19D001UWA001.ant.amazon.com (10.13.138.214) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Previous patch (ddceadce63) replaced the conditional CONFIG_CFS_BANDWIDTH with CONFIG_GROUP_SCHED_BANDWIDTH. However, the corresponding #endif statements were not appropriately changed. This commit fixes that. Fixes: ddceadce63d9 ("sched_ext: Add support for cgroup bandwidth control i= nterface") Signed-off-by: Darshit Shah --- kernel/sched/core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index bfd280ec0f97..a65380d9f699 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -10184,7 +10184,7 @@ static ssize_t cpu_max_write(struct kernfs_open_fil= e *of, ret =3D tg_set_bandwidth(tg, period_us, quota_us, burst_us); return ret ?: nbytes; } -#endif /* CONFIG_CFS_BANDWIDTH */ +#endif /* CONFIG_GROUP_SCHED_BANDWIDTH */ =20 static struct cftype cpu_files[] =3D { #ifdef CONFIG_GROUP_SCHED_WEIGHT @@ -10220,7 +10220,7 @@ static struct cftype cpu_files[] =3D { .read_u64 =3D cpu_burst_read_u64, .write_u64 =3D cpu_burst_write_u64, }, -#endif /* CONFIG_CFS_BANDWIDTH */ +#endif /* CONFIG_GROUP_SCHED_BANDWIDTH */ #ifdef CONFIG_UCLAMP_TASK_GROUP { .name =3D "uclamp.min", --=20 2.47.3 Amazon Web Services Development Center Germany GmbH Tamara-Danz-Str. 13 10243 Berlin Geschaeftsfuehrung: Christof Hellmis, Andreas Stieger Eingetragen am Amtsgericht Charlottenburg unter HRB 257764 B Sitz: Berlin Ust-ID: DE 365 538 597