From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f70.google.com (mail-pg0-f70.google.com [74.125.83.70]) by kanga.kvack.org (Postfix) with ESMTP id 482496B038E for ; Mon, 6 Mar 2017 10:33:32 -0500 (EST) Received: by mail-pg0-f70.google.com with SMTP id e5so28497404pgk.1 for ; Mon, 06 Mar 2017 07:33:32 -0800 (PST) Received: from bombadil.infradead.org (bombadil.infradead.org. [65.50.211.133]) by mx.google.com with ESMTPS id f17si19300642pgg.290.2017.03.06.07.33.31 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Mar 2017 07:33:31 -0800 (PST) Date: Mon, 6 Mar 2017 16:33:31 +0100 From: Peter Zijlstra Subject: Re: [PATCH] x86, kasan: add KASAN checks to atomic operations Message-ID: <20170306153331.GP6500@twins.programming.kicks-ass.net> References: <20170306124254.77615-1-dvyukov@google.com> <20170306125851.GL6500@twins.programming.kicks-ass.net> <20170306130107.GK6536@twins.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org List-ID: To: Dmitry Vyukov Cc: Andrew Morton , Andrey Ryabinin , Ingo Molnar , kasan-dev , "linux-mm@kvack.org" , LKML , "x86@kernel.org" , Mark Rutland On Mon, Mar 06, 2017 at 03:24:23PM +0100, Dmitry Vyukov wrote: > We could involve compiler (and by compiler I mean clang, because we > are not going to touch gcc, any volunteers?). FWIW, clang isn't even close to being a viable compiler for the kernel. It lacks far too many features, _IF_ you can get it to compiler in the first place. -- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754515AbdCFPdl (ORCPT ); Mon, 6 Mar 2017 10:33:41 -0500 Received: from bombadil.infradead.org ([65.50.211.133]:37253 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753306AbdCFPdc (ORCPT ); Mon, 6 Mar 2017 10:33:32 -0500 Date: Mon, 6 Mar 2017 16:33:31 +0100 From: Peter Zijlstra To: Dmitry Vyukov Cc: Andrew Morton , Andrey Ryabinin , Ingo Molnar , kasan-dev , "linux-mm@kvack.org" , LKML , "x86@kernel.org" , Mark Rutland Subject: Re: [PATCH] x86, kasan: add KASAN checks to atomic operations Message-ID: <20170306153331.GP6500@twins.programming.kicks-ass.net> References: <20170306124254.77615-1-dvyukov@google.com> <20170306125851.GL6500@twins.programming.kicks-ass.net> <20170306130107.GK6536@twins.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 06, 2017 at 03:24:23PM +0100, Dmitry Vyukov wrote: > We could involve compiler (and by compiler I mean clang, because we > are not going to touch gcc, any volunteers?). FWIW, clang isn't even close to being a viable compiler for the kernel. It lacks far too many features, _IF_ you can get it to compiler in the first place.