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 59FBF3859EC for ; Sun, 27 Sep 2026 21:53:48 +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=1790546029; cv=none; b=d/IdtW3H4zK6l3sKuOGQQHJytkim9gGYF0QArU0/7l+PbnQSfnuyRBVnuo7lm/3hu/0AEr+o35QFmxSGEEuKzrHcTTnMQLnN7Z1l7A05WgMyr5Psujapv5j76QtLRFORKJgwHUaP3zgp2eXk89I5TJ7vHG4ngR+opkh/wB/w2FQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790546029; c=relaxed/simple; bh=eRxtN20qVgmSKHWYiDSV0CrelvjK2ghyUv5/UlR5jHo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=iLd0/UraSUqbxd7FtUNl7+NFPYIb8rQu7q4pbhVzZXKuexydwc5IkwWKQvWM8lY+BxYQj8Xedl1pFBZxZ0k4TgK9JYcJiCxJwE0+CmFBtsElmPrNhq/C5PJ9oxz0bu/xNNU52UzBAaO9qgVpmtk+ffEtVRy5YB6gJSZvP6Fcw1E= 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=JVmxxn21; 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="JVmxxn21" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1790546027; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=kZH4v7K1jaDieo8jJAF8+gFQF7CFWBnSD4vp3wuUmQ0=; b=JVmxxn21yfV6ggDaKPWZshXTGlPwdRTH1NyAT8efjdwVXjQ6Am5e0xaXkYGc9RPSvlZYbF oCsZNDd0LJtnYkSweTUbP7hsOhzML18aw4JjlsT6aC9c2w8Dm2xCwRYwO8JvGeYAIddArq xtGw5mx6dhBoBMfHWBIonS9ZJRUd5C4= Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-81-ZzbZE6N2O9mo8gIUMmroyg-1; Sun, 27 Sep 2026 17:53:40 -0400 X-MC-Unique: ZzbZE6N2O9mo8gIUMmroyg-1 X-Mimecast-MFC-AGG-ID: ZzbZE6N2O9mo8gIUMmroyg_1790546019 Received: from mx-prod-int-10.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-10.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.95]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 05A3F1800632; Sun, 27 Sep 2026 21:53:39 +0000 (UTC) Received: from llong-thinkpadp16vgen1.rmtusnh.csb (headnet04.pony-001.prod.iad2.dc.redhat.com [10.2.32.116]) by mx-prod-int-10.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id F2AF441D; Sun, 27 Sep 2026 21:53:36 +0000 (UTC) From: Waiman Long To: Ridong Chen , Tejun Heo , Johannes Weiner , =?UTF-8?q?Michal=20Koutn=C3=BD?= Cc: cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, Hui Peng , Guopeng Zhang , Waiman Long Subject: [PATCH-next v2 0/2] cgroup/cpuset: Run SCHED_DEADLINE shrink test on valid partition root only Date: Sun, 27 Sep 2026 17:53:17 -0400 Message-ID: <20260927215319.382422-1-longman@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.6 on 10.30.177.95 v2: - Leave the v1 code as is and switch between using is_cpu_exclusive() for v1 and is_partition_valid() for v2. When testing some upstream cpuset patch, it was found that the current SCHED_DEADLINE shrink test in validate_change() can incorrectly get triggered due to the fact that the exclusive flag may get set on a cpuset that is not a valid partition root. This series fixes this problem by making sure that the test will only be triggered on a valid partition root and remove the now unnecessary code to handle the exclusive flag in the v2 code. Waiman Long (2): cgroup/cpuset: Run SCHED_DEADLINE shrink test on valid partition root only cgroup/cpuset: Remove CS_CPU_EXCLUSIVE handling code from v2 kernel/cgroup/cpuset.c | 59 ++++++------------------------------------ 1 file changed, 8 insertions(+), 51 deletions(-) -- 2.55.0