linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: lizefan@huawei.com, hannes@cmpxchg.org
Cc: cgroups@vger.kernel.org, linux-kernel@vger.kernel.org,
	kernel-team@fb.com
Subject: Re: [PATCHSET cgroup/for-4.6] cgroup: update migration destination cgroup handling
Date: Tue, 8 Mar 2016 11:50:22 -0500	[thread overview]
Message-ID: <20160308165022.GB3447@mtj.duckdns.org> (raw)
In-Reply-To: <1457025602-4193-1-git-send-email-tj@kernel.org>

On Thu, Mar 03, 2016 at 12:19:58PM -0500, Tejun Heo wrote:
> cgroup migrations used to always be single destination.  There could
> be multiple sources but there was only one destination cgroup.  This
> changed with default hierarchy as enabling a controller would move
> processes in child cgroups into separate csses.  This was developed
> over time and is working correctly now but the way multiple
> destinations are handled is hacky and fragile.  This patchset updates
> migration logic so that multi-destination handling is integral.
> 
> This patchset contains the following four patches.
> 
>  0001-cgroup-fix-incorrect-destination-cgroup-in-cgroup_up.patch
>  0002-cgroup-move-migration-destination-verification-out-o.patch
>  0003-cgroup-make-cgroup-_taskset-_migrate-take-cgroup_roo.patch
>  0004-cgroup-use-css_set-mg_dst_cgrp-for-the-migration-tar.patch

These changes are mostly mechanical and I want them to be in for-4.6
for a while before the merge window opens up.  Applying to
cgroup/for-4.6.  In the unlikely case that this breaks something,
let's fix with followup patches.

Thanks.

-- 
tejun

      parent reply	other threads:[~2016-03-08 16:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-03 17:19 [PATCHSET cgroup/for-4.6] cgroup: update migration destination cgroup handling Tejun Heo
2016-03-03 17:19 ` [PATCH 1/4] cgroup: fix incorrect destination cgroup in cgroup_update_dfl_csses() Tejun Heo
2016-03-03 17:20 ` [PATCH 2/4] cgroup: move migration destination verification out of cgroup_migrate_prepare_dst() Tejun Heo
2016-03-03 17:20 ` [PATCH 3/4] cgroup: make cgroup[_taskset]_migrate() take cgroup_root instead of cgroup Tejun Heo
2016-03-03 17:20 ` [PATCH 4/4] cgroup: use css_set->mg_dst_cgrp for the migration target cgroup Tejun Heo
2016-03-08 16:50 ` Tejun Heo [this message]

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=20160308165022.GB3447@mtj.duckdns.org \
    --to=tj@kernel.org \
    --cc=cgroups@vger.kernel.org \
    --cc=hannes@cmpxchg.org \
    --cc=kernel-team@fb.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lizefan@huawei.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).