]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'master' into for-4.4-fixes
authorTejun Heo <tj@kernel.org>
Mon, 7 Dec 2015 15:09:03 +0000 (10:09 -0500)
committerTejun Heo <tj@kernel.org>
Mon, 7 Dec 2015 15:09:03 +0000 (10:09 -0500)
commit5a2d818429101918169f991576d2c0cba2f8a1ad
tree486ebe0d76217a4f7781e28fbd96facb0b66f9da
parent95547792e9a2f679226b18568c3f4e912ab563b8
parent0d6307f0ff0e2b8c4dd21c0e87811f2d16d3c4ce
Merge branch 'master' into for-4.4-fixes

The following commit which went into mainline through networking tree

  9d3a2805fb3f ("cgroups: Allow dynamically changing net_classid")

conflicts in net/core/netclassid_cgroup.c with the following pending
fix in cgroup/for-4.4-fixes.

  5206feaf35c9 ("cgroup: fix handling of multi-destination migration from subtree_control enabling")

The former separates out update_classid() from cgrp_attach() and
updates it to walk all fds of all tasks in the target css so that it
can be used from both migration and config change paths.  The latter
drops @css from cgrp_attach().

Resolve the conflict by making cgrp_attach() call update_classid()
with the css from the first task.  We can revive @tset walking in
cgrp_attach() but given that net_cls is v1 only where there always is
only one target css during migration, this is fine.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Nina Schiff <ninasc@fb.com>
kernel/sched/core.c
net/core/netclassid_cgroup.c