Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp6234245ybe; Tue, 17 Sep 2019 23:29:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqw6frNhM6nNJLZUqCqeY88RTht1fwBa2u6GUv+8K80Y9/LtxCJTKzs/ulhtw8vsjdbzlesq X-Received: by 2002:a50:e005:: with SMTP id e5mr8528854edl.279.1568788195795; Tue, 17 Sep 2019 23:29:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568788195; cv=none; d=google.com; s=arc-20160816; b=uRP3azR5fYJw09WCvzRmgyvEtwA7fn51qfnC91DS9nGFO/S/pP16P83mt9UyU/gnt3 Srij4ZPvwDexBnMRVlDzBCb0jmVE3sgb1tmJzym1wGll7DGRW7Npp9a4DS38LdXIFrv+ ZRYmBycsURlLrHJbswoq9wu74/pn7nxsPCGHuFkdN4/pv5kJwkqF9/ES1l4n8d/MszHZ yUxroAnICIl4Y/UOjAOdYq5c6FYK/qjI9fuVYxYW0sbSYPLwur6L8JY0jOaPNDX+4TN/ 1WRXJd0XSJKW2n1/ou9R57vjJtPAcbDC3zqSA5X8+0HbHZ5Hids9F1EL8i+JY33NTng9 mPqQ== 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; bh=jqTsi2c/8rP2YPp+PpiMnNM6awrqgnoNU7obehKP3C8=; b=I30X0Pu3fVcZB9wLNn5as+IxwtnGcNnxjrCYqvUA1X/JOkfWu6Op7xhjuqLrjZuEie xhxKtj3BebTEMcPgnm7qBYWXgFrKEsQeU6jFQw/CA5sE9q9VD89IqF3V+LcjE6GqIS+p DnxZrPLdP8f1qZssk+QwddXZBf9MTHhQizcGBhPTM1dzFRD+7w0/l36ygE5gidUYE9zM bdKfLD7MOKQoFRG0ebjU2hDWvFLD0kcLH4IbnQzamDt5aU97hHiY4EF3CpccLO4om/HJ lmGnoukKqV40eHvMqNYJLPBuRsRgTe6hXoR8EbaQpyXX7OkNY2wmsCAIdhiEOnFGo4L/ j5Eg== 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 c4si2936800edb.387.2019.09.17.23.29.33; Tue, 17 Sep 2019 23:29:55 -0700 (PDT) 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 S1729833AbfIRGYZ (ORCPT + 99 others); Wed, 18 Sep 2019 02:24:25 -0400 Received: from mx2.suse.de ([195.135.220.15]:36094 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727790AbfIRGYW (ORCPT ); Wed, 18 Sep 2019 02:24:22 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 11B00AF8E; Wed, 18 Sep 2019 06:24:19 +0000 (UTC) Date: Tue, 17 Sep 2019 23:24:04 -0700 From: Davidlohr Bueso To: "Paul E. McKenney" Cc: Sebastian Andrzej Siewior , linux-kernel@vger.kernel.org, Josh Triplett , Thomas Gleixner Subject: Re: [PATCH] locking: locktorture: Do not include rwlock.h directly Message-ID: <20190918062404.hyk5p2gs4mtybl3t@linux-p48b> References: <20190916145404.bukcmlliequu77wk@linutronix.de> <20190917071614.kcmux562y6wbskj5@linux-p48b> <20190917170620.GC30224@paulmck-ThinkPad-P72> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20190917170620.GC30224@paulmck-ThinkPad-P72> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 17 Sep 2019, Paul E. McKenney wrote: >On Tue, Sep 17, 2019 at 12:16:14AM -0700, Davidlohr Bueso wrote: >> On Mon, 16 Sep 2019, Sebastian Andrzej Siewior wrote: >> >> > From: Wolfgang M. Reimer >> > >> > Including rwlock.h directly will cause kernel builds to fail >> > if CONFIG_PREEMPT_RT is defined. The correct header file >> > (rwlock_rt.h OR rwlock.h) will be included by spinlock.h which >> > is included by locktorture.c anyway. >> > >> > Remove the include of linux/rwlock.h. >> > >> >> Acked-by: Davidlohr Bueso > >Applied, thank you! > >But does anyone actually run locktorture? I do at least. I also know of cases of other folks making use of the "framework" to test/pound on custom tailored locks -- ie btrfs tree lock. I've also seen it in one or two academic papers. Thanks, Davidlohr