All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHSET] fix CGROUP VS RCU
@ 2008-11-21  8:49 Lai Jiangshan
  2008-11-21  9:06 ` Andrew Morton
       [not found] ` <49267609.8050600-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
  0 siblings, 2 replies; 8+ messages in thread
From: Lai Jiangshan @ 2008-11-21  8:49 UTC (permalink / raw)
  To: Andrew Morton, Paul Menage, Linux Containers,
	Linux Kernel Mailing List, KAMEZAWA Hiroyuki, Serge Hallyn


current some cgroup struct are protected by RCU.

struct protected by RCU:
	struct css_set, struct cgroup_subsys_state, struct cgroup

pointer protected by RCU:
	struct task_struct.cgroups, struct css_set.subsys[*],
	struct cgroup_subsys_state.cgroup
the last two pointers are readonly pointer!

these patches are fix these structs, and pointers. And a faker:
struct cgroup_subsys.root

Not cleanup all yet.

Thanx, Lai


^ permalink raw reply	[flat|nested] 8+ messages in thread
* [PATCHSET] fix CGROUP VS RCU
@ 2008-11-21  8:49 Lai Jiangshan
  0 siblings, 0 replies; 8+ messages in thread
From: Lai Jiangshan @ 2008-11-21  8:49 UTC (permalink / raw)
  To: Andrew Morton, Paul Menage, Linux Containers,
	Linux Kernel Mailing List <linux-ker>


current some cgroup struct are protected by RCU.

struct protected by RCU:
	struct css_set, struct cgroup_subsys_state, struct cgroup

pointer protected by RCU:
	struct task_struct.cgroups, struct css_set.subsys[*],
	struct cgroup_subsys_state.cgroup
the last two pointers are readonly pointer!

these patches are fix these structs, and pointers. And a faker:
struct cgroup_subsys.root

Not cleanup all yet.

Thanx, Lai

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

end of thread, other threads:[~2008-11-21  9:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-21  8:49 [PATCHSET] fix CGROUP VS RCU Lai Jiangshan
2008-11-21  9:06 ` Andrew Morton
2008-11-21  9:10   ` Lai Jiangshan
     [not found]     ` <49267AFD.8050707-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2008-11-21  9:14       ` Lai Jiangshan
2008-11-21  9:14     ` Lai Jiangshan
     [not found]   ` <20081121010637.0f71ffff.akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
2008-11-21  9:10     ` Lai Jiangshan
     [not found] ` <49267609.8050600-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2008-11-21  9:06   ` Andrew Morton
  -- strict thread matches above, loose matches on Subject: below --
2008-11-21  8:49 Lai Jiangshan

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.