public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] cgroup: fix race between cgroup_post_fork() and cgroup_migrate()
@ 2015-11-27 18:57 Oleg Nesterov
  2015-11-27 18:57 ` [PATCH 1/3] cgroup: pids: " Oleg Nesterov
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Oleg Nesterov @ 2015-11-27 18:57 UTC (permalink / raw)
  To: Aleksa Sarai, Johannes Weiner, Li Zefan, Tejun Heo; +Cc: linux-kernel

On 11/26, Oleg Nesterov wrote:
>
> OK. I do not know what exactly do you mean, perhaps if you fix this problem
> the race between fork and attach goes away and in this case the fix I sent
> is not needed?

Otherwise please consider this series.

Slightly tested, seems to work; please review.

Oleg.

 include/linux/cgroup-defs.h   |   12 ++------
 include/linux/cgroup.h        |   19 ++++---------
 include/linux/cgroup_subsys.h |   18 ------------
 kernel/cgroup.c               |   30 +++++----------------
 kernel/cgroup_freezer.c       |    2 +-
 kernel/cgroup_pids.c          |   58 +++++++---------------------------------
 kernel/fork.c                 |   16 ++++-------
 kernel/sched/core.c           |    2 +-
 8 files changed, 34 insertions(+), 123 deletions(-)


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-12-03 15:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-27 18:57 [PATCH 0/3] cgroup: fix race between cgroup_post_fork() and cgroup_migrate() Oleg Nesterov
2015-11-27 18:57 ` [PATCH 1/3] cgroup: pids: " Oleg Nesterov
2015-11-27 18:57 ` [PATCH 2/3] cgroup: pids: kill pids_fork(), simplify pids_can_fork() and pids_cancel_fork() Oleg Nesterov
2015-11-27 18:57 ` [PATCH 3/3] cgroup: kill cgrp_ss_priv[CGROUP_CANFORK_COUNT] and friends Oleg Nesterov
2015-12-03 15:18   ` Tejun Heo
2015-11-28  3:09 ` [PATCH 0/3] cgroup: fix race between cgroup_post_fork() and cgroup_migrate() Zefan Li
2015-11-30 15:16   ` Oleg Nesterov
2015-11-30 14:50 ` Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox