From: Tejun Heo <tj@kernel.org>
To: "Michal Koutný" <mkoutny@suse.com>
Cc: longman@redhat.com, akpm@linux-foundation.org,
cgroups@vger.kernel.org, corbet@lwn.net, frederic@kernel.org,
guro@fb.com, hannes@cmpxchg.org, juri.lelli@redhat.com,
linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-kselftest@vger.kernel.org, lizefan.x@bytedance.com,
mtosatti@redhat.com, pauld@redhat.com, peterz@infradead.org,
shuah@kernel.org
Subject: Re: [PATCH] cgroup/cpuset: Make child cpusets restrict parents on v1 hierarchy
Date: Wed, 12 Jan 2022 11:25:33 -1000 [thread overview]
Message-ID: <Yd9HTVxEPo2/zfou@slm.duckdns.org> (raw)
In-Reply-To: <20211217154854.41409-1-mkoutny@suse.com>
On Fri, Dec 17, 2021 at 04:48:54PM +0100, Michal Koutný wrote:
> The commit 1f1562fcd04a ("cgroup/cpuset: Don't let child cpusets
> restrict parent in default hierarchy") inteded to relax the check only
> on the default hierarchy (or v2 mode) but it dropped the check in v1
> too.
>
> This patch returns and separates the legacy-only validations so that
> they can be considered only in the v1 mode, which should enforce the old
> constraints for the sake of compatibility.
>
> Fixes: 1f1562fcd04a ("cgroup/cpuset: Don't let child cpusets restrict parent in default hierarchy")
> Suggested-by: Waiman Long <longman@redhat.com>
> Signed-off-by: Michal Koutný <mkoutny@suse.com>
Applied to cgroup/for-5.17-fixes.
Thanks.
--
tejun
next prev parent reply other threads:[~2022-01-12 21:25 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-05 18:32 [PATCH v9 0/7] cgroup/cpuset: Add new cpuset partition type & empty effecitve cpus Waiman Long
2021-12-05 18:32 ` [PATCH v9 1/7] cgroup/cpuset: Don't let child cpusets restrict parent in default hierarchy Waiman Long
2021-12-13 20:41 ` Tejun Heo
2021-12-15 12:23 ` Michal Koutný
[not found] ` <20211215122336.GB25459-9OudH3eul5jcvrawFnH+a6VXKuFTiq87@public.gmane.org>
2021-12-15 17:59 ` Waiman Long
2021-12-15 17:59 ` Waiman Long
[not found] ` <8d73dc26-74e1-d763-d897-6e03cdac3c8c-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2021-12-17 15:48 ` [PATCH] cgroup/cpuset: Make child cpusets restrict parents on v1 hierarchy Michal Koutný
2021-12-17 15:48 ` Michal Koutný
2021-12-17 16:34 ` Waiman Long
2022-01-12 21:25 ` Tejun Heo [this message]
2021-12-05 18:32 ` [PATCH v9 3/7] cgroup/cpuset: Refining features and constraints of a partition Waiman Long
2021-12-15 14:49 ` Michal Koutný
2021-12-15 16:29 ` Waiman Long
2021-12-15 16:29 ` Waiman Long
2021-12-16 9:28 ` Michal Koutný
2021-12-05 18:32 ` [PATCH v9 4/7] cgroup/cpuset: Add a new isolated cpus.partition type Waiman Long
2022-01-12 15:21 ` Peter Zijlstra
[not found] ` <Yd7x3P+wGCVfYtza-Nxj+rRp3nVydTX5a5knrm8zTDFooKrT+cvkQGrU6aU0@public.gmane.org>
2022-01-12 15:40 ` Waiman Long
2022-01-12 15:40 ` Waiman Long
[not found] ` <0cf37ac0-69c7-2da4-22a6-58e78dc35cef-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2022-01-12 21:23 ` Tejun Heo
2022-01-12 21:23 ` Tejun Heo
2021-12-05 18:32 ` [PATCH v9 5/7] cgroup/cpuset: Show invalid partition reason string Waiman Long
2021-12-05 18:32 ` [PATCH v9 6/7] cgroup/cpuset: Update description of cpuset.cpus.partition in cgroup-v2.rst Waiman Long
2021-12-13 21:00 ` Tejun Heo
[not found] ` <Ybe0YWEo7Wp7wib9-NiLfg/pYEd1N0TnZuCh8vA@public.gmane.org>
2021-12-15 14:44 ` Michal Koutný
2021-12-15 14:44 ` Michal Koutný
[not found] ` <20211215144450.GC25459-9OudH3eul5jcvrawFnH+a6VXKuFTiq87@public.gmane.org>
2021-12-15 18:16 ` Waiman Long
2021-12-15 18:16 ` Waiman Long
[not found] ` <96018978-6b7f-1e7f-1012-9df7f7996ec5-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2021-12-15 18:35 ` Tejun Heo
2021-12-15 18:35 ` Tejun Heo
2021-12-15 18:55 ` Waiman Long
[not found] ` <58c06961-ffc4-27d7-01d2-4c91b0c9161d-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2022-01-12 21:21 ` Tejun Heo
2022-01-12 21:21 ` Tejun Heo
2021-12-05 18:32 ` [PATCH v9 7/7] kselftest/cgroup: Add cpuset v2 partition root state test Waiman Long
[not found] ` <20211205183220.818872-1-longman-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2021-12-05 18:32 ` [PATCH v9 2/7] cgroup/cpuset: Allow no-task partition to have empty cpuset.cpus.effective Waiman Long
2021-12-05 18:32 ` Waiman Long
2021-12-13 20:45 ` Tejun Heo
[not found] ` <Ybew7d2oE2gLcLNO-NiLfg/pYEd1N0TnZuCh8vA@public.gmane.org>
2021-12-15 3:24 ` Waiman Long
2021-12-15 3:24 ` Waiman Long
2021-12-15 10:36 ` Michal Koutný
2021-12-09 15:39 ` [PATCH v9 0/7] cgroup/cpuset: Add new cpuset partition type & empty effecitve cpus Waiman Long
2021-12-09 15:39 ` Waiman Long
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Yd9HTVxEPo2/zfou@slm.duckdns.org \
--to=tj@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=cgroups@vger.kernel.org \
--cc=corbet@lwn.net \
--cc=frederic@kernel.org \
--cc=guro@fb.com \
--cc=hannes@cmpxchg.org \
--cc=juri.lelli@redhat.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=lizefan.x@bytedance.com \
--cc=longman@redhat.com \
--cc=mkoutny@suse.com \
--cc=mtosatti@redhat.com \
--cc=pauld@redhat.com \
--cc=peterz@infradead.org \
--cc=shuah@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.