lkml.org 
[lkml]   [2010]   [Dec]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] sched, cgroup: Use exit hook to avoid use-after-free crash
From
Date
On Fri, 2010-12-24 at 16:59 +0100, Peter Zijlstra wrote:

> So cgroup moves a task without calling cgroup_subsys::attach() which is
> odd, but it does have an ::exit method, sadly it calls that _before_
> re-assigning the task, which means we have to jump through some hoops.

Could you do the move in cgroup_exit() in the CONFIG_PREEMPT case?

-Mike




\
 
 \ /
  Last update: 2010-12-24 17:51    [W:0.116 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site