From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.3 required=3.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9734DC432C3 for ; Thu, 14 Nov 2019 18:05:49 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 496722071B for ; Thu, 14 Nov 2019 18:05:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="NxgoVXfs" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 496722071B Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id E93976B0005; Thu, 14 Nov 2019 13:05:48 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id E43746B000A; Thu, 14 Nov 2019 13:05:48 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D32C76B0266; Thu, 14 Nov 2019 13:05:48 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0056.hostedemail.com [216.40.44.56]) by kanga.kvack.org (Postfix) with ESMTP id BF4196B0005 for ; Thu, 14 Nov 2019 13:05:48 -0500 (EST) Received: from smtpin28.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with SMTP id 588AF8249980 for ; Thu, 14 Nov 2019 18:05:48 +0000 (UTC) X-FDA: 76155661176.28.cars54_6cd1102adc518 X-HE-Tag: cars54_6cd1102adc518 X-Filterd-Recvd-Size: 7385 Received: from mail-ot1-f68.google.com (mail-ot1-f68.google.com [209.85.210.68]) by imf50.hostedemail.com (Postfix) with ESMTP for ; Thu, 14 Nov 2019 18:05:47 +0000 (UTC) Received: by mail-ot1-f68.google.com with SMTP id 5so5681564otk.1 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=VVB3ievOsx/lzApkgdKZZvvo2cSD3dVKi1Wjcdz3DKt6Y6TIN78fo93/S7CzbXjdf4 mGZwE4Z7vJXjl6h5iDN/gyyCg9ibZo/e+e5+lFWv8kjK+Dg3mPT+asGND5Jz+/72V3MY wBFjbOm1I44XFGfBCG3PFJY3pJGzeD4MAAs3m9OhSBGSbAphTgabMa5xe8mWxTvOQaF0 bvFUNKhV2SKoAjcEn0jM8L2b48jPLdeDJjul+vSDXp0QUOwj3rn60MDN8hE+Cs0DRdil DGCrF57kJxs3WPZBf9ulxYxbepGUrBXIub+jja6Tqxwb856wvVZcEISnm036sHwADZiw gkSg== X-Gm-Message-State: APjAAAUsL9nyuL2SHh1dIUV+YFvrJt3ww898ppqZoqfLv9CUE0Czl2a1 /Lmn1hIP5bbDzDOi5WPZtGGuM+DBlfzL7a57ZMQTIA== X-Google-Smtp-Source: APXvYqyrMskQ+7J9UNUfcxyz6lEJ6aAXmbhC4Ojnbhf0sdFxVcKFNY9laSVYQSl4irBOMAgWImdPxQ38GiVQD2cHbmw= 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" X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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