lkml.org 
[lkml]   [2012]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC][PATCH] sched: Fix race in task_group()
From
Date
On Fri, 2012-06-22 at 17:06 +0200, Stefan Bader wrote:
> > @@ -7595,6 +7597,11 @@ void sched_move_task(struct task_struct *tsk)
> > if (unlikely(running))
> > tsk->sched_class->put_prev_task(rq, tsk);
> >
> > + tg = container_of(task_subsys_state(p, cpu_cgroup_subsys_id),
> s/p/tsk/
> > + struct task_group, css);
> > + tg = autogroup_task_group(p, tg);
> s/p/tsk/
> > + tsk->sched_task_group = tg;
> > +

Hmm, I'm very sure I at least compiled a kernel after this.. must've
been the wrong machine.. /me dons a brown paper bag.


\
 
 \ /
  Last update: 2012-06-22 18:01    [W:0.203 / U:0.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site