[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080129150209.663538cb.akpm@linux-foundation.org>
Date: Tue, 29 Jan 2008 15:02:09 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Oleg Nesterov <oleg@...sign.ru>
Cc: ebiederm@...ssion.com, mingo@...e.hu, paulmck@...ux.vnet.ibm.com,
xemul@...nvz.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] fix tasklist + find_pid() with CONFIG_PREEMPT_RCU
On Tue, 29 Jan 2008 19:40:19 +0300
Oleg Nesterov <oleg@...sign.ru> wrote:
> With CONFIG_PREEMPT_RCU read_lock(tasklist_lock) doesn't imply rcu_read_lock(),
I'm suspecting that we have other code which assumes that read_lock, write_lock
and spin_lock imply rcu_read_lock().
I wonder if there are any sane runtime checks we can put in there to find
such problems.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists