Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp588863pxk; Wed, 16 Sep 2020 11:32:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz4DVDsZqOOQOoomm2/AabNGE/3zMsrUVTwjaUVniqzREr/itTeushWRFSbOsZSy7ljPnFH X-Received: by 2002:a17:906:2962:: with SMTP id x2mr24688627ejd.188.1600281166609; Wed, 16 Sep 2020 11:32:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600281166; cv=none; d=google.com; s=arc-20160816; b=FvPK08l6e/SjtCJLWh3nS4XQF2sQsK6SpWd7FvxfHaV5/5eJ5dqB6wNbV0Xsa+lj+I Wmh9KDE7cbj2GdehquK64rwUUU539LP/+hw/WLjHaUrPYTtLf7YBMxFGXxmMAjjjuCgx p67qMynPyVd4A6jZ+0D/iVesCJP2YDdeahGNobkdXI+jxHrygMMyBfq7JCSLxjy2Qtfd 6qlbhDZulW1OiNtYmGKLQOu+wNNEqCS2cZTSUz1sV8UTG5+d1w9BSsjyqb6BzAkWdfMR tWqDiF5EKvoeocM8VNHwACxlPKegJJD/OXu1D/+YD46RYTttD9bf1AylCLWO9nCtyPKm s5Mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=3fsuI9w5GdoIgxeD1xv5qa75sHOHCTimKxD8QqBKKvM=; b=N1ryei1cRcN60sYZHK3QMMVG0x+dtu3ZMXDXxCB+T435IIOcy+OtpV4DpbG+CH0zGj dlpmdi4TFcOVrsCrKhPqT1OrsM6khM/DwFsEgwoHbeuUsr7zriILzuLDDD/iJwa3E/0V KpbeAdbPpppGXn+mGaYUfewrhO2E036+HYC8bMCzag9XyabZh/dyRDMYsNQ7lwIG3udE G8wQ5D06euCheDtQbhsC+DCtYDadE4Gh5juYG7+cEWw6H4nzqkwsOXd+Mv7FjmoBjmQ1 ev0ZKYgNhlOQqTguBNuZDSAbNQQnDP7JiBrmnEing2DTvEgXVo2mAktA5zVjUSh99aOy DylQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b="jlXXu49/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ce12si12055837ejb.719.2020.09.16.11.32.24; Wed, 16 Sep 2020 11:32:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b="jlXXu49/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728026AbgIPS3e (ORCPT + 99 others); Wed, 16 Sep 2020 14:29:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728001AbgIPS2w (ORCPT ); Wed, 16 Sep 2020 14:28:52 -0400 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F9B4C0A8895; Wed, 16 Sep 2020 05:54:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=3fsuI9w5GdoIgxeD1xv5qa75sHOHCTimKxD8QqBKKvM=; b=jlXXu49/jB89TDAuiJwrD8HRAS SHqt4hS3yNU6uPG9WnxXbo1RnlYY+wGBcvWMQ+XvDifTL8dN472JqW6xcTzUcnohkmbcE9EINw1Ov Bg2kT+yGHOg6OYKgEQMwWL+H/JezTCFvZmrnycvcyBtJcQ8IZ/t72tN8cTYFoKbhLvmYHZtGv4yLq DqJNdcmUHWBzshsvkiEgRQWzNr84Q+Iqx2ENzvimsHDuRbYz6X0qa5Da8l6mDWHdp6cNHo0h8IkLe PEqqaKlvKomk7GUQygg9XTNPDm+F9WoABVU00pS3fgEzjCQ8cN9Uohn+oRvUkr/ikmgfCODioV0Ca d7MTghBg==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kIWwn-0002Cn-1a; Wed, 16 Sep 2020 12:54:05 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 85BC13011FE; Wed, 16 Sep 2020 14:54:02 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id CD1522B9285CC; Wed, 16 Sep 2020 14:54:02 +0200 (CEST) Date: Wed, 16 Sep 2020 14:54:02 +0200 From: peterz@infradead.org To: Qian Cai Cc: Boqun Feng , Stephen Rothwell , "Ahmed S. Darwish" , Ingo Molnar , Will Deacon , Thomas Gleixner , "Sebastian A. Siewior" , "Paul E. McKenney" , Steven Rostedt , LKML , linux-next@vger.kernel.org, Waiman Long Subject: Re: [PATCH v2 0/5] seqlock: Introduce PREEMPT_RT support Message-ID: <20200916125402.GR2674@hirez.programming.kicks-ass.net> References: <20200904153231.11994-1-a.darwish@linutronix.de> <224bd11b533dd2acff3f6cce51ab4ca676eb4f9f.camel@redhat.com> <20200915124817.GA127490@debian-boqun.qqnc3lrjykvubdpftowmye0fmh.lx.internal.cloudapp.net> <20200915143028.GB2674@hirez.programming.kicks-ass.net> <32bfdec1ad4e11cfecd840e1b83d95ba2bab1abc.camel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <32bfdec1ad4e11cfecd840e1b83d95ba2bab1abc.camel@redhat.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 16, 2020 at 08:52:07AM -0400, Qian Cai wrote: > On Tue, 2020-09-15 at 16:30 +0200, peterz@infradead.org wrote: > > On Tue, Sep 15, 2020 at 08:48:17PM +0800, Boqun Feng wrote: > > > I think this happened because seqcount_##lockname##_init() is defined at > > > function rather than macro, so when the seqcount_init() gets expand in > > > > Bah! I hate all this :/ > > > > I suspect the below, while more verbose than I'd like is the best > > option. > > Stephen, can you add this patch for now until Peter beats you to it? Did you verify it works? I only wrote it..