* [GIT PULL] cgroup changes for v3.13-rc1
@ 2013-11-09 22:38 Tejun Heo
0 siblings, 0 replies; only message in thread
From: Tejun Heo @ 2013-11-09 22:38 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel, Li Zefan, cgroups
Hello, again.
Not too much activity this time around. css_id is finally killed and
a minor update to device_cgroup; however, the pull request does lead
to a conflict in mm/memcontrol.c between the following two commits.
b862783594847 ("memcg: stop using css id")
bb4cc1a8b5eaf ("revert "memcg: get rid of soft-limit tree infrastructure"")
The former removes free_css_id() call from __mem_cgroup_free() and the
latter restores mem_cgroup_remove_from_trees() right above it leading
to context conflict. The conflict looks like
static void __mem_cgroup_free(struct mem_cgroup *memcg)
{
int node;
size_t size = memcg_size();
<<<<<<< HEAD
mem_cgroup_remove_from_trees(memcg);
free_css_id(&mem_cgroup_subsys, &memcg->css);
=======
>>>>>>> 73ba353471e0b692f398f3d63018b7f46ccf1d3e
for_each_node(node)
free_mem_cgroup_per_zone_info(memcg, node);
free_percpu(memcg->stat);
and can be resolved like the following.
static void __mem_cgroup_free(struct mem_cgroup *memcg)
{
int node;
size_t size = memcg_size();
mem_cgroup_remove_from_trees(memcg);
for_each_node(node)
free_mem_cgroup_per_zone_info(memcg, node);
free_percpu(memcg->stat);
The changes are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-3.13
for you to fetch changes up to 73ba353471e0b692f398f3d63018b7f46ccf1d3e:
device_cgroup: remove can_attach (2013-10-24 06:56:56 -0400)
Just in case, the test merge is available in the following git branch.
git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git test-merge-3.13
Thanks.
----------------------------------------------------------------
Li Zefan (5):
memcg: convert to use cgroup_is_descendant()
memcg: convert to use cgroup id
memcg: fail to create cgroup if the cgroup id is too big
memcg: stop using css id
cgroup: kill css_id
Serge Hallyn (1):
device_cgroup: remove can_attach
include/linux/cgroup.h | 37 -------
kernel/cgroup.c | 248 +----------------------------------------------
mm/memcontrol.c | 67 +++++++------
security/device_cgroup.c | 11 ---
4 files changed, 41 insertions(+), 322 deletions(-)
--
tejun
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-11-09 22:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-09 22:38 [GIT PULL] cgroup changes for v3.13-rc1 Tejun Heo
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).