Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp79528pxk; Wed, 16 Sep 2020 19:33:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzRWBw55lZBwyYyvFo6S/nsLO7tok7+Sf4UEhaahILeY+TLyV3iU+cVLnxSkC1m8VJJuhc+ X-Received: by 2002:a17:906:f9d3:: with SMTP id lj19mr28252152ejb.346.1600310009803; Wed, 16 Sep 2020 19:33:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600310009; cv=none; d=google.com; s=arc-20160816; b=sXXdccCkdxC4vahyO5Vf6IncKKPpRvTjiJW+K7xIeMbsfLrfoSfLqgSW4WIFaNcv1h nsCfZv4H12DDLcly6aW2MLvmU3zdgLIpTp81gZNwYwo4HSo2WEcsYUCeGSuFl0kXERS3 T4xll6xMLVsfxamYtfG4hXpmAYBOqWSJgPbsb2Ztd6YhN8aJyHqSz6hkrbDxC5EMTVbA XCgdlDMDT5cwJATbzA2u+3phkPSbxK4fdfbKii3zzPWsgH1X9cFN4htQ2thaHXvjYw57 ggVojpAKq/lyvatO30Y3snduT5SBdLdVti91jFxVHhJB4ZiFgEWow8zgBz3XGHYE8EZI DEIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=390y6I+DYM38qkkVXCcUkc6LlriptJwAccl9l3BvkgI=; b=Eiak0pcsnmzcOlCoHqw+VWGRtNDTA1X6FZCDB1xOxMaLRopz++Tk59Vys22R7bVwGG fJe2veN+yX2rOEAytVCMZDsBB1GfLFTBYYWpiOgsjzjtl26dxQzivgNvmTD+pQYz7gdu dBiH8zTnefg6vpy6Bkw6PZzgeaRajGmnh0MYOqYXMk+l5QuI1uAsH6lP4mfSGqX+hcmR a7C2X72kEfY/xvMe2xZHc/FRX7pUy4i3eSEtDXKWgUSYb4614XKzAxTu7CiPSDdPFVQn L8juNtEoUzCpT4X0jxsDr73c/I80ULau1kXrNlGwCC0KzsoyQ6um6qPgXLJjTGFLc2ZS +GnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=rzr9aEng; 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 32si772883edr.270.2020.09.16.19.33.06; Wed, 16 Sep 2020 19:33:29 -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=pass header.i=@canb.auug.org.au header.s=201702 header.b=rzr9aEng; 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 S1726109AbgIQCbw (ORCPT + 99 others); Wed, 16 Sep 2020 22:31:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725886AbgIQCbv (ORCPT ); Wed, 16 Sep 2020 22:31:51 -0400 Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E115CC061351; Wed, 16 Sep 2020 19:31:50 -0700 (PDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4BsLZW4rKqz9sRf; Thu, 17 Sep 2020 12:31:47 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1600309909; bh=390y6I+DYM38qkkVXCcUkc6LlriptJwAccl9l3BvkgI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=rzr9aEngQMP5agzlqO2vQstP9xUarpY7Y24jgCYeDFZjBHC00upkaKyVMt/7Ts6E3 kknawMhaiPzO7unlf5UbJzykgXcEmorP5ww2zMy8rYPibDJ4B35Z9y0fpordI4eqTK fLUh37f8WEbc9jEEob3MumCwLVjDm+ZhabyxUldCzF5woebiskKm3VT54MaOx6mLF2 us904viYiCk4++CoQfxXECtBOr81Vz2deN70iHGlh3ljZg/ltBrPaSk5exWRENMJm8 CcmpoJJ+c1yRsLNNtWeypZgIujZ6ytZ9JxUKSxeASE2eK0aSGnBJZalC0xBn02hdZu U6DI67nWLHLXg== Date: Thu, 17 Sep 2020 12:31:46 +1000 From: Stephen Rothwell To: peterz@infradead.org Cc: Qian Cai , Qian Cai , Boqun Feng , "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: <20200917123146.1ddc2f6d@canb.auug.org.au> In-Reply-To: <20200916130233.GS2674@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> <20200916125402.GR2674@hirez.programming.kicks-ass.net> <1750732498.13475000.1600261259894.JavaMail.zimbra@redhat.com> <20200916130233.GS2674@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/ZJigch=EJZvUj24UONED_0g"; protocol="application/pgp-signature"; micalg=pgp-sha256 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/ZJigch=EJZvUj24UONED_0g Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, On Wed, 16 Sep 2020 15:02:33 +0200 peterz@infradead.org wrote: > > On Wed, Sep 16, 2020 at 09:00:59AM -0400, Qian Cai wrote: > >=20 > >=20 > > ----- Original Message ----- =20 > > > On Wed, Sep 16, 2020 at 08:52:07AM -0400, Qian Cai wrote: =20 > > > > On Tue, 2020-09-15 at 16:30 +0200, peterz@infradead.org wrote: =20 > > > > > On Tue, Sep 15, 2020 at 08:48:17PM +0800, Boqun Feng wrote: =20 > > > > > > I think this happened because seqcount_##lockname##_init() is d= efined > > > > > > at > > > > > > function rather than macro, so when the seqcount_init() gets ex= pand in =20 > > > > >=20 > > > > > Bah! I hate all this :/ > > > > >=20 > > > > > I suspect the below, while more verbose than I'd like is the best > > > > > option. =20 > > > >=20 > > > > Stephen, can you add this patch for now until Peter beats you to it= ? =20 > > >=20 > > > Did you verify it works? I only wrote it.. =20 > >=20 > > Yes, I did. =20 >=20 > Excellent, I'll stick a Tested-by from you on then. I'll add this into the tip tree merge today (unless the tip tree is updated in the mean time). --=20 Cheers, Stephen Rothwell --Sig_/ZJigch=EJZvUj24UONED_0g Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAl9iypIACgkQAVBC80lX 0Gy1zggAjI2K6Kl9QkLwo+d/njeP3TD356LUn4zvKepNoeRA0/Wz9TWA4gRpaTzg a28nOfWT3SNuuDSTxaw0/EAA6i1uBUSh0weJlsdwtO3B0Il/rzXRfJgfoCMJCd0a CfhIWur6ceGx4y9+JY2lTV/ua4+lxqGofqKdA1U6bpWud3t9XGtJqUFn1NVFAYNd 1FOSw5aMISEPhiCGCH4dVTm855pgWGfH+9N5Cav75U01230Q8+ZCoMDCSdGqCrYf ZvVH/RD/uxtGBdrUXW4EUt4i+XliTJyaY2kZzgyADcfB3SghfwmrhOQYoXURm3vV iXH7/gv3r+uj+i4ZeoYnf+bsPWcf3g== =sfKF -----END PGP SIGNATURE----- --Sig_/ZJigch=EJZvUj24UONED_0g--