Re: [PATCH] sched/numa: fix unsafe get_task_struct() in task_numa_assign()

From: Kirill Tkhai
Date: Mon Oct 20 2014 - 04:56:45 EST


Ð ÐÑ, 19/10/2014 Ð 23:38 +0200, Peter Zijlstra ÐÐÑÐÑ:
> On Sun, Oct 19, 2014 at 03:13:31AM +0400, Kirill Tkhai wrote:
>
> I'm too tired for all this, but:
>
> > + smp_rmb(); /* Pairs with dst_rq->lock unlocking which implies smp_wmb */
>
> RELEASE does not imply a WMB.

Thanks, please see, I've sent new version.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/