Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp676300pxk; Wed, 16 Sep 2020 14:08:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwuwtpYBXwURQwBDr9gJyXkVfeVPWSoENlKMKkdz3Def+gkqbrcxQDb+PW2H/mC63guZOwL X-Received: by 2002:a17:906:4c42:: with SMTP id d2mr26581912ejw.506.1600290528723; Wed, 16 Sep 2020 14:08:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600290528; cv=none; d=google.com; s=arc-20160816; b=VFkFPp9ZHbaWGxhMArQVY4BdA2bfjbeOUhnPr2wZu6pe0VN9Teysfyxy3a2jjWzkeB MSP6VsRGnXkVRTiZCugs1H6S92d1ZtQA6xHhNtst5NGYwBwTcu1THdgEgnBapE1iqq8i 2yVwirK+4sdKU3fdFpfc7mvJy+E7F1Qb6WdiNpxDK51cTPcRiFPMKFGn485HMjNPvytG 4oObd8iwXzxb2UjbSq/3QiAEMqSO+FEF2qD0pX4eqndrA0uXzqWNSukxWVszTfE4utUi znIoR2WxeNQrSz0SHk9dN7Vu9iCvWmC3wQLdA5HDHuKZzHyi6CX+AJB1pcgdNk4BKznD QV2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:thread-index:thread-topic :content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date:dkim-signature; bh=npu0gC9sM6MERj6/pQxIj4SF007TuYAcmo+pEdbn1Ho=; b=NXwc99FgbXf/6ldgaBq/Zdzb27gKAIa+wLjDPSG6/8KYu3A/YawGhA9zPx1eiu46yi HA0nV3PmXWWtFDFx5JA9gcu5ArnSXQwaA52LgUKseZpSpi7zjOGpKWJPTf5jKPriLBcm 8pEQvYtjPYuc6SoIm9FVtFkeH7D5kbYLQYwAdZpNI6Dm0n8oUmJreILLNgWZ9lBFaIIr Ckqiv3MR8XFgof+I9CAHR0l2z8qDvB22YYM+pvWi/9pktNjrHGc1GPjMC9ZXgF0cqOXW rUPy8sBx/Jm6Uy1HGi5Tyhh91J0qKerjcubBavr26/C1vCB/UJct6xtS90nSs51SBzVH ThAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=OtKUz650; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y89si13972575ede.586.2020.09.16.14.08.25; Wed, 16 Sep 2020 14:08:48 -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=@redhat.com header.s=mimecast20190719 header.b=OtKUz650; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726394AbgIPVHW (ORCPT + 99 others); Wed, 16 Sep 2020 17:07:22 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:40248 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726149AbgIPQOc (ORCPT ); Wed, 16 Sep 2020 12:14:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600272814; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=npu0gC9sM6MERj6/pQxIj4SF007TuYAcmo+pEdbn1Ho=; b=OtKUz650kkiHdZeR3fBa5t38I8AZkxrkd+B4fcW8PLCyDQLd6PQQ/EwwjOPJcPe/S651XQ 0AKZoixn8VgShwA6/VwUZcm2e04G1ir+QQhPGOt034oOpnsm2IcMfIz4WQRpg72V497bAW JxhyDT5HBikcQDFdW59Hwuruvg6xoC0= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-395-dl85R3dsOhO1R8aT0Wv52g-1; Wed, 16 Sep 2020 09:01:02 -0400 X-MC-Unique: dl85R3dsOhO1R8aT0Wv52g-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 29FFE10BBEC8; Wed, 16 Sep 2020 13:01:00 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1BC285DE77; Wed, 16 Sep 2020 13:01:00 +0000 (UTC) Received: from zmail17.collab.prod.int.phx2.redhat.com (zmail17.collab.prod.int.phx2.redhat.com [10.5.83.19]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 031D118408A0; Wed, 16 Sep 2020 13:01:00 +0000 (UTC) Date: Wed, 16 Sep 2020 09:00:59 -0400 (EDT) From: Qian Cai To: peterz@infradead.org Cc: Qian Cai , 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 Message-ID: <1750732498.13475000.1600261259894.JavaMail.zimbra@redhat.com> In-Reply-To: <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> <20200916125402.GR2674@hirez.programming.kicks-ass.net> Subject: Re: [PATCH v2 0/5] seqlock: Introduce PREEMPT_RT support MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.10.66.86, 10.4.195.1] Thread-Topic: seqlock: Introduce PREEMPT_RT support Thread-Index: Tg6sDWWWIDujY6pd6Ow2PSYcTCsq5g== X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ----- Original Message ----- > 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.. Yes, I did.