lkml.org 
[lkml]   [2012]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.



\
 
 \ /
  Last update: 2012-02-24 18:11    [W:0.072 / U:1.896 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site