On Wed, Nov 25, 2015 at 11:51 AM, Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx> wrote: > On 2015/11/25 17:44, Michal Hocko wrote: >> Sasha has reported the same thing some time ago >> http://www.spinics.net/lists/cgroups/msg14075.html. Tejun had a theory >> http://www.spinics.net/lists/cgroups/msg14078.html but we never got down >> to the solution. > > Did you check assembly code? > https://gcc.gnu.org/ml/gcc/2012-02/msg00005.html If the race described in http://www.spinics.net/lists/cgroups/msg14078.html does actually happen, then there is nothing to check. https://gcc.gnu.org/ml/gcc/2012-02/msg00005.html talks about different memory locations, if there is store-widening involving different memory locations, then this is a compiler bug. But the race happens on a single memory location, in such case the code is buggy. -- To unsubscribe from this list: send the line "unsubscribe cgroups" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html