[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.1202241105280.3726@router.home>
Date: Fri, 24 Feb 2012 11:08:41 -0600 (CST)
From: Christoph Lameter <cl@...ux.com>
To: Dave Hansen <dave@...ux.vnet.ibm.com>
cc: "Eric W. Biederman" <ebiederm@...ssion.com>,
linux-kernel@...r.kernel.org, linux-mm@...ck.org
Subject: Re: [RFC][PATCH] fix move/migrate_pages() race on task struct
Oh and another thing. There are certain functions that are now called
under rcu read lock()
security_task_movememory
and
cpuset_mems_allowed
cpuset_mems_allowed takes a mutex. Hmmm... Under rcu?
security_task_movememory does some kind of security hook.
Is that all safe? If not then we need to take a refcount on the task
struct after all.
--
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