Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp2276348iob; Sun, 15 May 2022 13:28:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxcNZV/CVFf9pkGvuH11FaggAHTnYGmX8yskF5+HekN41l3GGKbWqiSwxSk/7bQjPlJRMan X-Received: by 2002:a05:600c:b4e:b0:394:4551:113b with SMTP id k14-20020a05600c0b4e00b003944551113bmr13963905wmr.9.1652646485714; Sun, 15 May 2022 13:28:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652646485; cv=none; d=google.com; s=arc-20160816; b=GSrp/EXRS/CF/isWf1C3zldCTmGoUORUWGm2Sw7PdNlwCVUd6uBVL6HlT1No+T3566 WJptVwrTuHGHnpXogzHeVnCiYmMnNqQF3zRPUPAJ40TggdDVFZnzqudAOJqc8vlSKyq2 E3QVZFXubj1zgUi5mXjnqXr20a3dzlM9TwqYSKSby/HKBlSdjeDZXTd4/1MvG97aTGdY +5ZNP/ra5BNqIXo633n0gr0VPiCLb965i/p8MNqOBKUwJRamOj+PELfJ2MQ+IKb0RGbu 9K46HF0BbgMV6H2o0MCXYll0dhadSDFKwWl1BVti1fUzpidkBozQZh4PqoxvfrOBzSeS Xzcg== 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:dkim-filter; bh=U5dGlEecDnUtacsW7JN0vjLDi97Aeo5TM9Zryhdd8k8=; b=CO6ee7xt4DM73f9blxVXMBKZ+8rBzUJIZBFu0XPqmuFqLnGF9KmXmSC5xL/gdN5qyC Kk8+mLl14HNpV4CfJiEVDIQcAwwciYb4TkHDXxaRuMrF81d8rq6/1b2M4PjUi+7jJW9l pYWbogEPnTPsTZRgPDMqi5++nmDGG00vuX7edEDzS0GR7j6tR1AplgYThcT/h0ge66// DZ0OFSk24cqWEttuXEtGMPLydGYs0W98MEQdtVnHhlb0mPcM7VaI8HJEbk1R0RlW720y 8RwaU0PDXHSUhXwai9Gb3PBEBINY7hFg+Mv0YQvE2ImW3VIHzC63vy6Zj9p7zBOpQ3XL gsYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=po2L6BCt; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f24-20020a7bcd18000000b003944f23fcdesi10538922wmj.226.2022.05.15.13.27.15; Sun, 15 May 2022 13:28:05 -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=@nifty.com header.s=dec2015msa header.b=po2L6BCt; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234187AbiENQ14 (ORCPT + 99 others); Sat, 14 May 2022 12:27:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231238AbiENQ1y (ORCPT ); Sat, 14 May 2022 12:27:54 -0400 Received: from conssluserg-01.nifty.com (conssluserg-01.nifty.com [210.131.2.80]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 011552CE18 for ; Sat, 14 May 2022 09:27:53 -0700 (PDT) Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) (authenticated) by conssluserg-01.nifty.com with ESMTP id 24EGRdvN005103 for ; Sun, 15 May 2022 01:27:40 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com 24EGRdvN005103 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1652545660; bh=U5dGlEecDnUtacsW7JN0vjLDi97Aeo5TM9Zryhdd8k8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=po2L6BCtmDYAR1YpThPMOyQzQRONg7xEuhvoLO00ziTl0e97fGEeGXXJjl9F8w71M mqQD7BmyTm34oS3ZHlwvwTRVaP2/cFO3cmCjhl+/x7UqmvdFHIZpBMJBDQzYwlsOPU Go8T9Cdy2KnqJLCgfQYVn87UMM5wm8nMIRJ6EGy6/rFRhBPlNByioCdeYxkNIyDrE3 nlcSydM7HsTKOSPsDh9lsSSrT0GN7ADawxuXQwv8Fhhgiv0Zx3p1qI8O3ehdiTq/Do Nm+UJLIPQun/QKitPLTY3lXyF6XdbfFK1VIJS1UO/3Z8q0bBUYlTI2VBe9nCGoTJz9 39spLhYG2lhPg== X-Nifty-SrcIP: [209.85.214.175] Received: by mail-pl1-f175.google.com with SMTP id s14so10702645plk.8 for ; Sat, 14 May 2022 09:27:40 -0700 (PDT) X-Gm-Message-State: AOAM533L0kXMOuQblDMJ9FURDuICmQbRoDLp0Zw0xAjB9faM+H6II4/I HI5GaHDJV+VPqyFb+extrZbOXeU0TZ3A6Boeu14= X-Received: by 2002:a17:903:1205:b0:15e:8cbc:fd2b with SMTP id l5-20020a170903120500b0015e8cbcfd2bmr9984452plh.99.1652545659306; Sat, 14 May 2022 09:27:39 -0700 (PDT) MIME-Version: 1.0 References: <20220426155229.436681-1-mailhol.vincent@wanadoo.fr> <20220507131146.834810-1-mailhol.vincent@wanadoo.fr> <20220507131146.834810-3-mailhol.vincent@wanadoo.fr> <20220514131448.GL76023@worktop.programming.kicks-ass.net> <20220514145551.GC100765@worktop.programming.kicks-ass.net> In-Reply-To: <20220514145551.GC100765@worktop.programming.kicks-ass.net> From: Masahiro Yamada Date: Sun, 15 May 2022 01:26:23 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC PATCH v2 2/2] kbuild: call check-atomics.sh only if prerequisites change To: Peter Zijlstra Cc: Vincent Mailhol , Michal Marek , Nick Desaulniers , Linux Kernel Mailing List , Arnd Bergmann , Andy Shevchenko , Rikard Falkeborn , Andrew Morton , Kees Cook , Will Deacon Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_SOFTFAIL, 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 Sat, May 14, 2022 at 11:56 PM Peter Zijlstra wrote: > > On Sat, May 14, 2022 at 03:14:48PM +0200, Peter Zijlstra wrote: > > On Sat, May 14, 2022 at 04:01:18AM +0900, Masahiro Yamada wrote: > > > I wrote a different patch. > > > https://lore.kernel.org/lkml/20220513185340.239753-1-masahiroy@kernel.org/T/#u > > > > I'm not seeing that in my inbox :-( > > > > AFAICT this way 'make tags' will not find and index the files, which is > > a total no-go. > > > > NAK > > Additionally, if you spuriously regenerate these files, you'll risk > rebuilding huge parts of the kernel through the dependencies. This is just one-time copying. Rebuild only happens just once. BTW, gen-atomics.sh takes more than 1 sec. Do you think gen-atomics.sh can be much faster if it is rewritten by Python or Perl? Then, we can drop 5000 lines from the git repository. -- Best Regards Masahiro Yamada