Re: [RFC][PATCH] fix move/migrate_pages() race on task struct

From: Christoph Lameter
Date: Fri Feb 24 2012 - 12:08:44 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/