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=-2.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no 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 9BD91C4CEC4 for ; Wed, 18 Sep 2019 06:30:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 77E5321906 for ; Wed, 18 Sep 2019 06:30:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729838AbfIRGY0 (ORCPT ); Wed, 18 Sep 2019 02:24:26 -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