On Sat, Mar 03, 2007 at 02:21:00AM -0800, Paul Jackson wrote: > Perhaps you could summarize what becomes of this hook, in this > brave new world of rcfs ...
attach_task() still uses a synchronize_rcu before doing a put_nsproxy in the rcfs patches. This means cpuset_update_task_memory_state() can read a task's cpuset->mems_generation under just a rcu_read_lock() (as it is doing currently). void cpuset_update_task_memory_state(void) { tsk = current; ... } else { rcu_read_lock(); ns = rcu_dereference(tsk->nsproxy); my_cpusets_mem_gen = ns->ctlr_data[cpuset_ctlr.subsys_id]->mems_generation; rcu_read_unlock(); } ... } -- Regards, vatsa ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ ckrm-tech mailing list https://lists.sourceforge.net/lists/listinfo/ckrm-tech