Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5705449ybl; Tue, 14 Jan 2020 13:35:15 -0800 (PST) X-Google-Smtp-Source: APXvYqwgLK39YfFa2Qs9Yy543UVYWo9JIQzgnznT5pRt4756q2Iu2QX+rJuUwumfX9IKZ5eo9IPF X-Received: by 2002:a05:6808:b13:: with SMTP id s19mr17384852oij.119.1579037715880; Tue, 14 Jan 2020 13:35:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579037715; cv=none; d=google.com; s=arc-20160816; b=UFUxNv6LH2s7FYXQo9d6zzDmnCKL2+D1J3fMFvwDFKtVE07uwlmBbGm6MrseVtsrbY UlOrxQfTQBYfrSpjwNH5Ola1wAP4JZfXUZcyL48HhwCz6TXEpv4IoHJGJfddvl8iCN6i A5+BO6KEdn8z7LkGRv7rHMAJ3WrHAGdN+1nyMoDaw7bkzd3N+/c0yJBT8pf7MoUiudD1 oWf1x8YFP+QMdYQvlvrfhQCeqNEg/W6Cv+QNdOgKQwv44UOjKpxwAh1NjEIBy335uDyd ymS4IHofUHjwsdChgKiyrX97/c8PFM14IjhK0nwTl8bEQWqV8KNBAorLyCU3+uiTP7wW wLtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=wZ1qTmUi5pLxh6yPDVdW6e7XG8pHHeDQLwj51Ieu9NI=; b=KLqarNzvL1jAE8iGAfnM5dZoJKsWcwcOIO9OIWcmJhWPahhaIYLxVTrsAALf1mq8XL UA72ntLkTTUyPyGQn5lQaY3oldmWQ4BRTYpyJinTgsWFxM7c+XrYEftVv/3Qs4kexpGE ySR0OmavFPqgwXhZAn6waZ/zFH/U+fnY+NS7ml2oNHbQNoD9m8yTKrWcd4TEYwLLkUOP VlVs9Do6CLvgfkJN+Doa1o18Zh1/YcP9ynx+/ElMSQS0squAGeudeyuxuYJsx5wVSWT/ 2C1EGzGjgEvvPRJxa8w2pS+AUegrkyJnF+rt2qgj4OkU/lllgQYqEUhDRidN4AxPzHBx Ge7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=E19ztN87; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k1si8148867oic.245.2020.01.14.13.35.03; Tue, 14 Jan 2020 13:35:15 -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=@kernel.org header.s=default header.b=E19ztN87; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728943AbgANVeH (ORCPT + 99 others); Tue, 14 Jan 2020 16:34:07 -0500 Received: from mail.kernel.org ([198.145.29.99]:44818 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726491AbgANVeH (ORCPT ); Tue, 14 Jan 2020 16:34:07 -0500 Received: from paulmck-ThinkPad-P72.home (50-39-105-78.bvtn.or.frontiernet.net [50.39.105.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A7F3924656; Tue, 14 Jan 2020 21:34:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579037645; bh=N2S7y+O790zET1Gmtmsm8tuXTXxczW82v07Ij9f4etg=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=E19ztN87s0hx9TSeFhbYpD4KDYFnyV2gto/gqjaKAfYjz7c5aXHcsklLFATfRh40W Krlsmw3JOJcH2iti5LhYFL3x8wnsI4XrND8lAwIc7zpyl15esGA5KHG4rQs7yW5iyD XuiqPr1+p+/FgPX/3BzIPVbdApiWI0BuJYOa6yYg= Received: by paulmck-ThinkPad-P72.home (Postfix, from userid 1000) id 597AF3522755; Tue, 14 Jan 2020 13:34:05 -0800 (PST) Date: Tue, 14 Jan 2020 13:34:05 -0800 From: "Paul E. McKenney" To: Qian Cai Cc: Marco Elver , 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 , Eric Dumazet , 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 Subject: Re: [PATCH v4 01/10] kcsan: Add Kernel Concurrency Sanitizer infrastructure Message-ID: <20200114213405.GX2935@paulmck-ThinkPad-P72> Reply-To: paulmck@kernel.org References: <20200114192220.GS2935@paulmck-ThinkPad-P72> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 14, 2020 at 03:30:53PM -0500, Qian Cai wrote: > > > > On Jan 14, 2020, at 2:22 PM, Paul E. McKenney wrote: > > > > Just so I understand... Does this problem happen even in CONFIG_KCSAN=n > > kernels? > > No. Whew!!! ;-) > > I have been running extensive CONFIG_KSCAN=y rcutorture tests for quite > > awhile now, so even if this only happens for CONFIG_KSCAN=y, it is not > > like it affects everyone. > > > > Yes, it should be fixed, and Marco does have a patch on the way. > > The concern is really about setting KSCAN=y in a distro debug kernel where it has other debug options. I’ll try to dig into more of those issues in the next few days. Understood. But there are likely to be other issues with KCSAN, given how new it is. Yes, yes, I certainly would like to believe that the patches we currently know about will make KCSAN perfect for distros, I have way too much grey hair (and too little hair as well!) to really beleive that. As an alternative, once the patches needed for your tests to pass reach mainline, you could announce that KCSAN was ready to be enabled in distros. Though I confess that I don't know how that works. Is there a separate testing kernel binary provided by the distros in question? Thanx, Paul