Re: [RFC] [PATCH 2/2] cgroups: make procs file writable

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Oleg Nesterov
Date: Thursday, June 3, 2010 - 7:48 am

On 06/03, Ben Blum wrote:

rcu_read_lock() is not enough, see another email I sent.

Once again.

	rcu_read_lock()
	list_for_each_rcu(tsk->thread_group)

assumes that at least tsk->thread_group->next can't point to nowhere,
this is not true. This memory can go away _before_ we take rcu lock.

Oleg.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC] [PATCH 2/2] cgroups: make procs file writable, Oleg Nesterov, (Mon May 31, 10:52 am)
Re: [RFC] [PATCH 2/2] cgroups: make procs file writable, Oleg Nesterov, (Mon May 31, 11:04 am)
Re: [RFC] [PATCH 2/2] cgroups: make procs file writable, Oleg Nesterov, (Wed Jun 2, 7:06 am)
Re: [RFC] [PATCH 2/2] cgroups: make procs file writable, Oleg Nesterov, (Wed Jun 2, 1:20 pm)
Re: [RFC] [PATCH 2/2] cgroups: make procs file writable, Oleg Nesterov, (Wed Jun 2, 1:58 pm)
Re: [RFC] [PATCH 2/2] cgroups: make procs file writable, Oleg Nesterov, (Wed Jun 2, 2:38 pm)
Re: [RFC] [PATCH 2/2] cgroups: make procs file writable, Oleg Nesterov, (Thu Jun 3, 7:43 am)
Re: [RFC] [PATCH 2/2] cgroups: make procs file writable, Oleg Nesterov, (Thu Jun 3, 7:48 am)