On Wed 13-04-16 21:48:20, Michal Hocko wrote: [...] > I was thinking about something like flush_per_cpu_work() which would > assert on group_threadgroup_rwsem held for write.
I have thought about this some more and I guess this is not limitted to per cpu workers. Basically any flush_work with group_threadgroup_rwsem held for write is dangerous, right? -- Michal Hocko SUSE Labs