Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3506421ybc; Thu, 14 Nov 2019 10:07:25 -0800 (PST) X-Google-Smtp-Source: APXvYqzdxU51TqSoFfIHG6GEC+8AXCpAfc3AKPkDqYaRtbYUkep5PuywBFc+DeIB3sW13WcLkWbG X-Received: by 2002:ac2:4474:: with SMTP id y20mr7463496lfl.95.1573754845581; Thu, 14 Nov 2019 10:07:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573754845; cv=none; d=google.com; s=arc-20160816; b=u46U52xvnoN2xl+PaY26P3rh9CoRvMUovBJOqYamGJ7HstqE8Zc2vMhaCjzZ9UFv7q qVjuorHmzwbAqUdx7YA4u3J+XATfKJhl3VOR3nlUBRYT7lrmNHTw4UfM8Bws3ArWBJWJ xD1SCLOToBTjOb6JTQbaLMlHURnZTD5MgNqyiDRITQ0qD/3hC6/BvfWnYB3AecjFh4gz T0DfXMpaJir0JrP/blEDUGKJk2kuoD1hU0kH8CBYUkFzUHEaF4QiVLHYsh6w05IRjVNR 8kukltuZPt2CS8mqW5mxF0X6EQLXwycsrkYDJJhsJvj/8Fi3BCaRP0DhxnHz5ATfAEEW 6QGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=IlVs0WMHnCQFEwWjunTfC44Tofp8nrm/CewGUjfwrsU=; b=LOkYXrTJOfvfP//EqwjQfksVD3iw2kiZ00eoVZqIbity11kaa+M4PQE94ROhmEB52f 4pCUs7tBp71fEKBdmFUCfZ3AfikjAxSe5JiI8dMScsBuwLEfH3r2aFnnSTIR9KC94O9t r7e0Xnu7hLkCjR1UlKx9W5I8orMJ2yAYdHXEQHbq23P/aGiuBqzabigMqnAZuyzo368D 66KGDmAWhMDffkww6M0TRDVT1TfC6MrS9WAUf0FQm+rdtqzMwCVBbCfzOgTnsvQC1ExH uIJ+no5b/uklLIEcRE+Ed/rYAxr07HW5yZhfTfUWvKREzPvADeG4bbPL10vY+mffKG7q WQsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=NxgoVXfs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g6si4687014eda.377.2019.11.14.10.06.58; Thu, 14 Nov 2019 10:07:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=NxgoVXfs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726980AbfKNSFs (ORCPT + 99 others); Thu, 14 Nov 2019 13:05:48 -0500 Received: from mail-ot1-f68.google.com ([209.85.210.68]:46301 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726098AbfKNSFs (ORCPT ); Thu, 14 Nov 2019 13:05:48 -0500 Received: by mail-ot1-f68.google.com with SMTP id n23so5626832otr.13 for ; Thu, 14 Nov 2019 10:05:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=IlVs0WMHnCQFEwWjunTfC44Tofp8nrm/CewGUjfwrsU=; b=NxgoVXfsH4wel3QVkkMLnOxu9JC7ON4vtSJql9sqJ8/pzCk3Ue1E6FMlLn04ekudFP vZ91g5G+l4kGRlyK2nKyXNa1FGv8WgCHAEgqNnsmriR5MLL1DIMIanCpIl8hGAVonjhE hJ47JMnL+KoThN0MFvkMRVWWvAiE05r9kT5Xvg/q2IVv8awDabTwEsbydPk6140Z7bRi cciGCtiSumLOKoV1fP9IohCkb8Iw/PqV0C5Ri3QhzFrji2izlr52aXHqElI1kUISXEkB Pk2DZrxvzrShTZGyE+ynD4UmjuDg3kMT2lLxI5PfpK6cVjZpNwcCjQEsM5qvKfkXNWsw 2a5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=IlVs0WMHnCQFEwWjunTfC44Tofp8nrm/CewGUjfwrsU=; b=BRLwe9oiEPWNl/Jo26AF0CQF1MkBoA5WOfYG9HR8F0fZeleVJnlLK40ny1z3/rD6VM QibktsVyArx+hmbqmSb38eiV8WyMvp1adnVXkBlwes+m66dEujv4VbpWGXBAseMw6faS 0rbekIj9rH67Lptr1Tglr6n2vwc5XDfw1iHyKFLPeBrJUGV4Ah113cQLKwpTrmDkAZQX B2GrfHY9T41ZUpe1gWb7us50HhqRKtUkcBDagDVgZrvMgyCpznLVhrG8bOSRXaPqr8Nf cMC/UY/+deAOh1mIFJDasAARQr5mlkFkB3tEq+Ih1zLJAHmAn50zcWOoAsBBrFI7QWF6 Pbwg== X-Gm-Message-State: APjAAAWNaZLv5hIISM729PkZuIkqAlv7cHtCaaykVpulyJd40q86s5a+ hY0P+xTxT4QOoFJxh85YarioCPaZbWpVJtJdSZiOWw== X-Received: by 2002:a9d:8d2:: with SMTP id 76mr8943242otf.17.1573754746598; Thu, 14 Nov 2019 10:05:46 -0800 (PST) MIME-Version: 1.0 References: <20191104142745.14722-1-elver@google.com> <20191104164717.GE20975@paulmck-ThinkPad-P72> <20191104194658.GK20975@paulmck-ThinkPad-P72> <20191105142035.GR20975@paulmck-ThinkPad-P72> In-Reply-To: From: Marco Elver Date: Thu, 14 Nov 2019 19:05:34 +0100 Message-ID: Subject: Re: [PATCH v3 0/9] Add Kernel Concurrency Sanitizer (KCSAN) To: "Paul E. McKenney" Cc: LKMM Maintainers -- Akira Yokosawa , Alan Stern , Alexander Potapenko , Andrea Parri , Andrey Konovalov , Andy Lutomirski , Ard Biesheuvel , Arnd Bergmann , Boqun Feng , Borislav Petkov , Daniel Axtens , Daniel Lustig , Dave Hansen , David Howells , Dmitry Vyukov , "H. Peter Anvin" , Ingo Molnar , Jade Alglave , Joel Fernandes , Jonathan Corbet , Josh Poimboeuf , Luc Maranget , Mark Rutland , Nicholas Piggin , Peter Zijlstra , Thomas Gleixner , Will Deacon , kasan-dev , linux-arch , "open list:DOCUMENTATION" , linux-efi@vger.kernel.org, Linux Kbuild mailing list , LKML , Linux Memory Management List , "the arch/x86 maintainers" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 5 Nov 2019 at 16:25, Marco Elver wrote: > > On Tue, 5 Nov 2019 at 15:20, Paul E. McKenney wrote: > > > > On Tue, Nov 05, 2019 at 12:10:56PM +0100, Marco Elver wrote: > > > On Mon, 4 Nov 2019 at 20:47, Paul E. McKenney wrote: > > > > > > > > On Mon, Nov 04, 2019 at 07:41:30PM +0100, Marco Elver wrote: > > > > > On Mon, 4 Nov 2019 at 17:47, Paul E. McKenney wrote: > > > > > > > > > > > > On Mon, Nov 04, 2019 at 03:27:36PM +0100, Marco Elver wrote: > > > > > > > This is the patch-series for the Kernel Concurrency Sanitizer (KCSAN). > > > > > > > KCSAN is a sampling watchpoint-based data-race detector. More details > > > > > > > are included in Documentation/dev-tools/kcsan.rst. This patch-series > > > > > > > only enables KCSAN for x86, but we expect adding support for other > > > > > > > architectures is relatively straightforward (we are aware of > > > > > > > experimental ARM64 and POWER support). > > > > > > > > > > > > > > To gather early feedback, we announced KCSAN back in September, and > > > > > > > have integrated the feedback where possible: > > > > > > > http://lkml.kernel.org/r/CANpmjNPJ_bHjfLZCAPV23AXFfiPiyXXqqu72n6TgWzb2Gnu1eA@mail.gmail.com > > > > > > > > > > > > > > We want to point out and acknowledge the work surrounding the LKMM, > > > > > > > including several articles that motivate why data-races are dangerous > > > > > > > [1, 2], justifying a data-race detector such as KCSAN. > > > > > > > [1] https://lwn.net/Articles/793253/ > > > > > > > [2] https://lwn.net/Articles/799218/ > > > > > > > > > > > > > > The current list of known upstream fixes for data-races found by KCSAN > > > > > > > can be found here: > > > > > > > https://github.com/google/ktsan/wiki/KCSAN#upstream-fixes-of-data-races-found-by-kcsan > > > > > > > > > > > > Making this more accessible to more people seems like a good thing. > > > > > > So, for the series: > > > > > > > > > > > > Acked-by: Paul E. McKenney > > > > > > > > > > Much appreciated. Thanks, Paul! > > > > > > > > > > Any suggestions which tree this could eventually land in? > > > > > > > > I would guess that Dmitry might have some suggestions. > > > > > > I checked and we're both unclear what the most obvious tree to land in > > > is (the other sanitizers are mm related, which KCSAN is not). > > > > > > One suggestion that comes to my mind is for KCSAN to go through the > > > same tree (rcu?) as the LKMM due to their inherent relationship. Would > > > that make most sense? > > > > It works for me, though you guys have to continue to be the main > > developers. ;-) > > Great, thanks. We did add an entry to MAINTAINERS, so yes of course. :-) > > > I will go through the patches more carefully, and please look into the > > kbuild test robot complaint. > > I just responded to that, it seems to be a sparse problem. > > Thanks, > -- Marco v4 was sent out: http://lkml.kernel.org/r/20191114180303.66955-1-elver@google.com Thanks, -- Marco