Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp213422pxb; Wed, 23 Mar 2022 16:36:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzbgraNrqnyqDk+N38LhoK5/RBJVY9FTj7Qv0mPmupzCVPZswTP7B/mJAavK7GUdworLZeC X-Received: by 2002:a17:906:c111:b0:6db:cf0e:3146 with SMTP id do17-20020a170906c11100b006dbcf0e3146mr2829664ejc.280.1648078575347; Wed, 23 Mar 2022 16:36:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648078575; cv=none; d=google.com; s=arc-20160816; b=vOEx+sCVJiKN/BDQEUPX/axAE0Vk4tzDZyoBEt+21XGAykIYbMcwzExxBWwq7epv33 a9JQdtZ7CXXmmlEnoveuFYexILCoaki/7PNU4yaMk4hUfmZ9qLgjyB9ydzfO0g2ZNLnH Rt2orGaRKIRe8upnF0kX+GDQcsq1oIbADptHUBQnnC3g5+cxeDwvx7FZLiMQYI1vOIG5 MznMI4Wega6SU2TELn66ogi4s7YtdpII8FJw+gLmvTPl5xf/D5fyVq+mPJD6Oe1gTuvv RQk7rsG5ogmGJJdKz4sC7OIzWyaLvkpn/ceVWW0OURAcMaKHmAkMH/ZdWQhNrqFnEwjd OC2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=mo9nrzC4utr4Lj6m+SO58UKnHjjArzCtEgT1/nm/Ujg=; b=Rbm40VbnUU6OV0nPUhHTGa8KEv2fqgOc7e5bOHKWp2PCoyF8nBWudfPdUFLUf7bu7w uTj5EvNZ0C6UsQCfGQ+q/NyOp+V6t++pjW5Mr53mtKOdt2SWObollXPKYPzaeINwH+bP HJyBA51XM/BzIoO5wEiFezu4ZWfdwSXIWe5Go33JlW+gt7ThgCKSoMMo4berEreIO2ts KFQWEIHWWrHX1EmcEz/FBOfaVBl4FVR56MuvhnD8pxsTTRlridaQ3FaF2DUqd7aZM9Jf sejL+hEXI4pcArytFQ5Xi2s08i3SH9IqKk3jUVFM5blqmsiJya5S0qoq8NN8raow+Str CbBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=DdnoVd7j; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u3-20020a509503000000b00418ec13cc0asi19789738eda.452.2022.03.23.16.35.50; Wed, 23 Mar 2022 16:36:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=DdnoVd7j; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237368AbiCVWH3 (ORCPT + 99 others); Tue, 22 Mar 2022 18:07:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232615AbiCVWH2 (ORCPT ); Tue, 22 Mar 2022 18:07:28 -0400 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 459CD205D5 for ; Tue, 22 Mar 2022 15:06:00 -0700 (PDT) Received: by mail-lj1-x234.google.com with SMTP id 17so25875999lji.1 for ; Tue, 22 Mar 2022 15:06:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mo9nrzC4utr4Lj6m+SO58UKnHjjArzCtEgT1/nm/Ujg=; b=DdnoVd7jEU46qjxkbh+MEnUxjlamfuJPz2v96LhjPJDa0HhUdTuHgLFZ6Q0ogDvpcj TGS9jDr80wE5dk35U/9QUzvzSOnIL9sCItXsw2fcGQuJT+5Qb9HYboVucn/OU2X85GUi 2VlBJAan5lew+LPH0nFNUHWUBcAv9kViOAEQM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mo9nrzC4utr4Lj6m+SO58UKnHjjArzCtEgT1/nm/Ujg=; b=WlMGvy22DiGzpThF9NE4JxF36/CFvwek8m454wM7QGT2nCflUKGKn0oPkeMzBYPuJ/ xvl4pJ1P1ZGz+yR40L4zWYpem9d5om+jzMp5SDgJmb5sasTwl+efaz4pmIgJ9NNCe5pg 7/27HbZIiFJvVCyKU3M3wMXNS6B45Mzatvc+OAeFJemDAHwf/BYefUZqMkQ7bq+X/fhq n0EapDXvCD4WpmgcYEz8Xo57SVIK+5/BAri5LTmCwVU9n2RVFktUauievp8NrS7Jxlg4 cPoXQbB6xku/shXXKfIRsy6Q6qmY4c2zIvixcVLgBvlrm9puioA+D5uonnScqcvihMZ8 Vthg== X-Gm-Message-State: AOAM5338a57Q2ATVI4tVJsxLuL7Wda7Ds58CNvLZDpnW7vph6EuweJ6X LlI8pIgG7M6GMP7UGFhN+viWh8q1pGaXPr6eqqo= X-Received: by 2002:a05:651c:179c:b0:247:e1b4:92aa with SMTP id bn28-20020a05651c179c00b00247e1b492aamr21149641ljb.55.1647986758278; Tue, 22 Mar 2022 15:05:58 -0700 (PDT) Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com. [209.85.167.41]) by smtp.gmail.com with ESMTPSA id a8-20020a19ca08000000b0044a2d9a3ecasm759992lfg.155.2022.03.22.15.05.55 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 22 Mar 2022 15:05:56 -0700 (PDT) Received: by mail-lf1-f41.google.com with SMTP id d5so12912092lfj.9 for ; Tue, 22 Mar 2022 15:05:55 -0700 (PDT) X-Received: by 2002:a05:6512:b13:b0:448:90c6:dc49 with SMTP id w19-20020a0565120b1300b0044890c6dc49mr20306532lfu.542.1647986755710; Tue, 22 Mar 2022 15:05:55 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Linus Torvalds Date: Tue, 22 Mar 2022 15:05:39 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [GIT PULL] locking changes for v5.18 To: Ingo Molnar Cc: Linux Kernel Mailing List , Peter Zijlstra , Will Deacon , Waiman Long , Boqun Feng , Thomas Gleixner , Borislav Petkov , Andrew Morton Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 21, 2022 at 4:11 AM Ingo Molnar wrote: > > Sebastian Andrzej Siewior (2): > locking/local_lock: Make the empty local_lock_*() function a macro. Grr. I noticed this too late, but this one actually breaks the build with clang. Why? Because it's now a macro, it doesn't use the argument at all, and you get: mm/page_alloc.c:131:40: error: variable 'pagesets' is not needed and will not be emitted [-Werror,-Wunneeded-internal-declaration] static DEFINE_PER_CPU(struct pagesets, pagesets) = { ^ and I'm not sure why this doesn't show up with gcc, but apparently gcc only warns about unused static functions, not unused static data. Or maybe gcc considers it used just because somebody did a typeof on it. I thought -tip had started checking with clang, but apparently not. I see that the -mm tree has a fix for this, but I'm rather unhappy that the -tip tree build checking has deteriorated so much, and clang builds will now have a pointless build error that will cause issues for bisect. LInus