All of lore.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] cgroup fixes for v4.15-rc8
@ 2018-01-19 17:12 Tejun Heo
  0 siblings, 0 replies; only message in thread
From: Tejun Heo @ 2018-01-19 17:12 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: cgroups-u79uwXL29TY76Z2rM5mHXA, Li Zefan, Johannes Weiner

Hello, Linus.

cgroup.threads should be delegatable (ie. a container should be able
to write to it from inside) but was missing the flag.  The change is
very low risk.

Thanks.

The following changes since commit 74d0833c659a8a54735e5efdd44f4b225af68586:

  cgroup: fix css_task_iter crash on CSS_TASK_ITER_PROC (2017-12-20 07:09:19 -0800)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-4.15-fixes

for you to fetch changes up to 4f58424da3deead2605e39a9df65f5f06107a3cb:

  cgroup: make cgroup.threads delegatable (2018-01-10 09:42:32 -0800)

----------------------------------------------------------------
Roman Gushchin (1):
      cgroup: make cgroup.threads delegatable

 kernel/cgroup/cgroup.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c
index 2cf06c2..7e4c445 100644
--- a/kernel/cgroup/cgroup.c
+++ b/kernel/cgroup/cgroup.c
@@ -4447,6 +4447,7 @@ static struct cftype cgroup_base_files[] = {
 	},
 	{
 		.name = "cgroup.threads",
+		.flags = CFTYPE_NS_DELEGATABLE,
 		.release = cgroup_procs_release,
 		.seq_start = cgroup_threads_start,
 		.seq_next = cgroup_procs_next,

-- 
tejun

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-01-19 17:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-19 17:12 [GIT PULL] cgroup fixes for v4.15-rc8 Tejun Heo

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.