From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk0-f71.google.com (mail-vk0-f71.google.com [209.85.213.71]) by kanga.kvack.org (Postfix) with ESMTP id 9407D6B0337 for ; Wed, 22 Mar 2017 08:15:03 -0400 (EDT) Received: by mail-vk0-f71.google.com with SMTP id j64so52341780vkg.3 for ; Wed, 22 Mar 2017 05:15:03 -0700 (PDT) Received: from mail-vk0-x22d.google.com (mail-vk0-x22d.google.com. [2607:f8b0:400c:c05::22d]) by mx.google.com with ESMTPS id 8si417774uam.104.2017.03.22.05.15.02 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Mar 2017 05:15:02 -0700 (PDT) Received: by mail-vk0-x22d.google.com with SMTP id j64so108439942vkg.3 for ; Wed, 22 Mar 2017 05:15:02 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <6bb1c71b87b300d04977c34f0cd8586363bc6170.1489519233.git.dvyukov@google.com> <20170320171718.GL31213@leverpostej> <956a8e10-e03f-a21c-99d9-8a75c2616e0a@virtuozzo.com> <20170321104139.GA22188@leverpostej> From: Dmitry Vyukov Date: Wed, 22 Mar 2017 13:14:41 +0100 Message-ID: Subject: Re: [PATCH 2/3] asm-generic, x86: wrap atomic operations Content-Type: text/plain; charset=UTF-8 Sender: owner-linux-mm@kvack.org List-ID: To: Arnd Bergmann Cc: Mark Rutland , Andrey Ryabinin , Peter Zijlstra , Ingo Molnar , Will Deacon , Andrew Morton , kasan-dev , "linux-mm@kvack.org" , "x86@kernel.org" , LKML On Wed, Mar 22, 2017 at 12:30 PM, Arnd Bergmann wrote: > On Wed, Mar 22, 2017 at 11:42 AM, Dmitry Vyukov wrote: >> On Tue, Mar 21, 2017 at 10:20 PM, Arnd Bergmann wrote: >>> On Tue, Mar 21, 2017 at 7:06 PM, Dmitry Vyukov wrote: >> >> Initially I've tested with my stock gcc 4.8.4 (Ubuntu >> 4.8.4-2ubuntu1~14.04.3) and amusingly it works. But I can reproduce >> the bug with 7.0.1. > > It's probably because gcc-4.8 didn't support KASAN yet, so the added > check had no effect. I've tested without KASAN with both compilers. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org