Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp498886pxt; Thu, 5 Aug 2021 05:03:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxHVXE+YBwtxat57G0Q0mgDXJNKHgJ5dUto8198J62rS4RdYpY86SYwk/AcS09TlMU20mSJ X-Received: by 2002:a05:6e02:1104:: with SMTP id u4mr517035ilk.247.1628165028801; Thu, 05 Aug 2021 05:03:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628165028; cv=none; d=google.com; s=arc-20160816; b=IUD3fk02juoiu+YR0ZAMJh+YnvG/Ysw6+fhuHE8Qt0EHoDOyuy7jQmo1YN4+KuUw8l RCaSxHRRpJCCWhUf7Spdp00ZEcdgYq/fXLdrMCCDtu58nVeKbr4ReHpmXYgnAeSW28K5 jrebCpgtfNlrP1RXNrA0gfhTm0DibfX0M9EvvA3QxclfNjk+EakQ26Uj2P9Zx21yb2SZ TzHM91csrvjL0Bi3gsIL+5P000/sea5g80XbEdz95RSF/Vv7sh5sRCAKOgWGGcW3Pf0u 2YhjxzLNVJx2zdj6dvuZMISGYBPZNSm9T5BaFldq8Ruiain0yczieLfM2VODkuIuvWdB uCLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=oXMXkb4mqVmF23Xi/rg6KEeycFTZgGmjVtC8KIvAYGU=; b=JsgifRPGL/D5nCnqHoskm87QuzTXvYDk4OMDKtbeh0gwjalUKIhr0e+9v5re28Lhz9 h/RiS4Q0lypCmqVrp31a1bOPvaFoMQYOwT+HGnzGg17DJTYftAHHg5ke8dJjqKH0w1UW LZxRLzA7y9MjC733xpWlmzJ+0ZWXNlYZISaUdQbUBUlRfUgWpoDtoozOdJEv7a56cYbJ 4ERKA7vrmvnH5GY4nKMXF2g0jpY51QGPLUEVF3Zu7N86Fn0OA+B44BzRSMyHtjq+tPJW p5qnLs77MdMuxFIfoSSXQ5D9XKZewfJfS+fGeMH4y8iX79vES8BWVhgUNzbsvXNdo0y8 sQuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=K5BHfS04; dkim=neutral (no key) header.i=@linutronix.de; 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=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k4si5187105iov.69.2021.08.05.05.03.31; Thu, 05 Aug 2021 05:03: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=@linutronix.de header.s=2020 header.b=K5BHfS04; dkim=neutral (no key) header.i=@linutronix.de; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239784AbhHEIzI (ORCPT + 99 others); Thu, 5 Aug 2021 04:55:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239749AbhHEIzH (ORCPT ); Thu, 5 Aug 2021 04:55:07 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4056C061765 for ; Thu, 5 Aug 2021 01:54:52 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1628153691; 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: in-reply-to:in-reply-to:references:references; bh=oXMXkb4mqVmF23Xi/rg6KEeycFTZgGmjVtC8KIvAYGU=; b=K5BHfS04Wv8CYuzFihlNWWxEK/29uU8MYU2RQceZhdNXAmYgdRCCkxcpeKLTpGHR5y1rlu nowVWZXh1Nf1JMguj57KBht/4I2UL0ooOKSa40wBwTWQBgqDOG5GtBVILd3BtJ1QYvpNVh bskCu77DWKziVVJvbTt/2bJhQkrxU6eGwZ6fl7usRynTQn+gUngpfsSFziSeh72X7DbXRb OlveMFEVX8QegCCL1YlS5aADRzykLJvouiO+Qesy5LkTitwJoKZlFcGgDN9kFv8S1Y+BmR m0A+XOAuuc4ynhJsmDPDU3lACXtUo6WqZRAs407A+y4MVHpj9ZYl3E5J5GX76g== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1628153691; 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: in-reply-to:in-reply-to:references:references; bh=oXMXkb4mqVmF23Xi/rg6KEeycFTZgGmjVtC8KIvAYGU=; b=prAh1bTut8ioHIt1yIW+zm7m1tg+RgvZUaJnzghvZucXQjb0tqMXnq+TYbPN0QNV87L1l8 ShqkxoLD89x5HHDg== To: Waiman Long , LKML Cc: Peter Zijlstra , Ingo Molnar , Juri Lelli , Steven Rostedt , Daniel Bristot de Oliveira , Will Deacon , Boqun Feng , Sebastian Andrzej Siewior , Davidlohr Bueso Subject: Re: [patch 22/63] locking/spinlock: Split the lock types header In-Reply-To: <977ef5db-17b4-646d-cbb8-b0ca301b55ea@redhat.com> References: <20210730135007.155909613@linutronix.de> <20210730135206.416779376@linutronix.de> <977ef5db-17b4-646d-cbb8-b0ca301b55ea@redhat.com> Date: Thu, 05 Aug 2021 10:54:50 +0200 Message-ID: <87sfzo1db9.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 04 2021 at 17:17, Waiman Long wrote: > On 7/30/21 9:50 AM, Thomas Gleixner wrote: >> From: Thomas Gleixner >> > > Most of the code in spinlock_types.h are moved into > spinlock_types_raw.h. However, macros like SPINLOCK_MAGIC and those that > followed are not removed from spinlock_types.h in this patch leading to > the same set of macro definitions in two different files. Should we > eliminate the duplicate macro definitions either from spinlock_types.h > or from spinlock_types_raw.h? Right you are.