Received: by 10.223.164.202 with SMTP id h10csp1598473wrb; Wed, 8 Nov 2017 06:48:26 -0800 (PST) X-Google-Smtp-Source: ABhQp+RACFTSN74m42FKo28iVBTdioW7CPmS/5SpZLojFF/i5fpcluR86RPF6hU2/Y1BlyOBCcuZ X-Received: by 10.84.214.150 with SMTP id j22mr682046pli.408.1510152506114; Wed, 08 Nov 2017 06:48:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510152506; cv=none; d=google.com; s=arc-20160816; b=YTeCOndxXkOKBXolnIUg8z72kUqwffOGNMB0KhHqO9MWFAbE1kpM25f0qDhsri4Bj8 3jZAzyKrxdjyacoj8KQEgul4h1eohTjXForUcYr+zuwtqfpXQfi4Tp8xvUrL3qT1BBqt M5uIITM7EN5Q9M+sJq46PW+xvkATp4DeikRQAjKtIfYS+QcWUb3xlY5PSQB7MZzyfon/ gwb8vUtPoccANNCHUiJlcOQC4/bG3GnjbIO/rq9mhfvoX5h7WlHMXBOtTcpcyDabHBeH mJGrULlPrXyVstBjQihDdw2lioVdSR+H+yyLU8LsBTa4cM5QZ9pzuUejpZS9MH34Ze4O oFGw== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=uWako/Visr+KZ+xPZJJmG3WENXBxJv1kU0EVmmtHgdw=; b=cCtDNtNhomOUl7UE/znIuerpsOw7HY+YNIzQw4BM0r2uAlQIQWmuj4dJiCdKRquOKJ tf7wAgrgrgaaEnnsJiEtfY91ledGrpNxhlFYgbpwoE6iM3AeVzc31xJqYd5oQRUwyEnn eTNX729BY48GpsDXx9Gm6/fxlaL4BoK0kLXvokCNWVW8QWy/vCDL5Y0ksV5dOsl/+J/2 mgculqlag2wdoZjKb2yuaZ4ZHMXBUtGAyC9s3NWZG3C82o+u/fVJGQVVUmiuZBB2DM2X qhTRshXK3zRmPkjaCJ6CiMLSA96/gM1ASw10fwSUy5iw4bbOaR11Q9o9N1xJmBD+yEXU 4cLQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y79si4319833pfb.41.2017.11.08.06.48.14; Wed, 08 Nov 2017 06:48:26 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752612AbdKHOrh (ORCPT + 82 others); Wed, 8 Nov 2017 09:47:37 -0500 Received: from mx2.suse.de ([195.135.220.15]:42598 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750818AbdKHOrg (ORCPT ); Wed, 8 Nov 2017 09:47:36 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 6D8A4ACFF; Wed, 8 Nov 2017 14:47:35 +0000 (UTC) Date: Wed, 8 Nov 2017 06:45:23 -0800 From: Davidlohr Bueso To: "Paul E. McKenney" Cc: Peter Zijlstra , Jeremy Linton , linux-kernel@vger.kernel.org, mingo@redhat.com, josh@joshtriplett.org Subject: Re: [PATCH] locktorture: Fix Oops when reader/writer count is 0 Message-ID: <20171108144523.k7ouldzwuawje4wc@linux-n805> References: <20171010155248.11602-1-jeremy.linton@arm.com> <20171107210748.GR3165@worktop.lehotels.local> <20171107221555.GX3624@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20171107221555.GX3624@linux.vnet.ibm.com> User-Agent: NeoMutt/20170421 (1.8.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 07 Nov 2017, Paul E. McKenney wrote: >On Tue, Nov 07, 2017 at 10:07:48PM +0100, Peter Zijlstra wrote: >> On Tue, Nov 07, 2017 at 02:01:58PM -0600, Jeremy Linton wrote: >> > Hi, >> > >> > On 10/10/2017 10:52 AM, Jeremy Linton wrote: >> > >If nwriters_stress=0 is passed to the lock torture test >> > >it will panic in: >> > >> > Ping? >> > >> > Has anyone had a chance to look at this? >> >> Helps if you Cc the people actually working on this stuff of course... > >Thank you for the forward, Peter, I have queued Jeremy's patch for >testing and review. fyi I had proposed the following a while back, which I think is more complete than this patch: https://lkml.org/lkml/2017/5/15/201 Ah, there's also this (unrelated) fix: https://lkml.org/lkml/2017/5/15/203 > >But Jeremy's list of email addresses is what you would expect from >looking at MAINTAINERS, so how about the following patch? > > Thanx, Paul > >------------------------------------------------------------------------ > >commit 58322063498c8f5a3cc88f95bee237a0ce81f70a >Author: Paul E. McKenney >Date: Tue Nov 7 14:10:03 2017 -0800 > > torture: Place all torture-test modules in one MAINTAINERS group > > There is some confusion about where patches to kernel/torture.c > and kernel/locking/locktorture.c should be sent. This commit > therefore updates MAINTAINERS appropriately. > > Reported-by: Peter Zijlstra > Signed-off-by: Paul E. McKenney > >diff --git a/MAINTAINERS b/MAINTAINERS >index 2d3d750b19c0..eab868adedc6 100644 >--- a/MAINTAINERS >+++ b/MAINTAINERS >@@ -8091,6 +8091,7 @@ F: arch/*/include/asm/rwsem.h > F: include/linux/seqlock.h > F: lib/locking*.[ch] > F: kernel/locking/ >+X: kernel/locking/locktorture.c > > LOGICAL DISK MANAGER SUPPORT (LDM, Windows 2000/XP/Vista Dynamic Disks) > M: "Richard Russon (FlatCap)" >@@ -11318,15 +11319,6 @@ L: linux-wireless@vger.kernel.org > S: Orphan > F: drivers/net/wireless/ray* > >-RCUTORTURE MODULE >-M: Josh Triplett >-M: "Paul E. McKenney" >-L: linux-kernel@vger.kernel.org >-S: Supported >-T: git git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git >-F: Documentation/RCU/torture.txt >-F: kernel/rcu/rcutorture.c >- > RCUTORTURE TEST FRAMEWORK > M: "Paul E. McKenney" > M: Josh Triplett >@@ -13558,6 +13550,18 @@ L: platform-driver-x86@vger.kernel.org > S: Maintained > F: drivers/platform/x86/topstar-laptop.c > >+TORTURE-TEST MODULES >+M: Davidlohr Bueso >+M: "Paul E. McKenney" >+M: Josh Triplett >+L: linux-kernel@vger.kernel.org >+S: Supported >+T: git git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git >+F: Documentation/RCU/torture.txt >+F: kernel/torture.c >+F: kernel/rcu/rcutorture.c >+F: kernel/locking/locktorture.c Sure, if you think this is the best way to go, I have no problem. Thanks, Davidlohr From 1583507811523208976@xxx Wed Nov 08 14:18:49 +0000 2017 X-GM-THRID: 1580886480887045223 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread