From: "Lorenzo Stoakes (ARM)" <ljs@kernel.org>
To: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
Cc: "Linus Torvalds" <torvalds@linux-foundation.org>,
"Nathan Chancellor" <nathan@kernel.org>,
"Nicolas Schier" <nsc@kernel.org>,
"Nick Desaulniers" <ndesaulniers@google.com>,
"Bill Wendling" <morbo@google.com>,
"Justin Stitt" <justinstitt@google.com>,
"Geert Uytterhoeven" <geert@linux-m68k.org>,
"Luis Chamberlain" <mcgrof@kernel.org>,
"Petr Pavlu" <petr.pavlu@suse.com>,
"Daniel Gomez" <da.gomez@kernel.org>,
"Sami Tolvanen" <samitolvanen@google.com>,
"Aaron Tomlin" <atomlin@atomlin.com>,
"Josh Poimboeuf" <jpoimboe@kernel.org>,
"Peter Zijlstra" <peterz@infradead.org>,
"Miguel Ojeda" <ojeda@kernel.org>,
"Boqun Feng" <boqun@kernel.org>, "Gary Guo" <gary@garyguo.net>,
"Björn Roy Baron" <bjorn3_gh@protonmail.com>,
"Benno Lossin" <lossin@kernel.org>,
"Andreas Hindborg" <a.hindborg@kernel.org>,
"Alice Ryhl" <aliceryhl@google.com>,
"Trevor Gross" <tmgross@umich.edu>,
"Danilo Krummrich" <dakr@kernel.org>,
"Daniel Almeida" <daniel.almeida@collabora.com>,
"Tamir Duberstein" <tamird@kernel.org>,
"Alexandre Courbot" <acourbot@nvidia.com>,
"Onur Özkan" <work@onurozkan.dev>,
"Nicolas Schier" <n.schier@fritz.com>,
"Kees Cook" <kees@kernel.org>,
linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org,
llvm@lists.linux.dev, linux-m68k@lists.linux-m68k.org,
linux-modules@vger.kernel.org, rust-for-linux@vger.kernel.org
Subject: Re: [PATCH v6 2/7] kbuild: implement and use depcheck to check dependency timestamps
Date: Wed, 25 Nov 2026 15:35:52 +0000 [thread overview]
Message-ID: <awcAOu7jxyVWqIcw@gremlin> (raw)
In-Reply-To: <CANiq72kdpY_tr0Gg16b24J1J-Duj3YS4rJ0CgNYVWQqmQv=nxg@mail.gmail.com>
On Wed, Nov 25, 2026 at 04:33:42PM +0100, Miguel Ojeda wrote:
> On Tue, Nov 24, 2026 at 1:20 PM Lorenzo Stoakes (ARM) <ljs@kernel.org> wrote:
> >
> > A dependency that is also a target of the same directory (e.g. header
> > generated by an if_changed rule) may get remade later in the same make run,
> > so do not treat a target as fresh.
>
> One more thing I noticed: a header generated with `filechk` does not
> have a `.cmd` file, so it is not covered by this.
>
> It matters for targets that reach such a header through their `.cmd`
> file alone, e.g. single targets like `.s`. For instance, after
> building `arch/x86/kvm/`:
>
> make arch/x86/kvm/vmx/vmenter.s
> # Change an offset in `kvm-asm-offsets.c`.
> make arch/x86/kvm/vmx/vmenter.s
>
> In mainline, the second one regenerates `kvm-asm-offsets.h` and then
> `vmenter.s`. With this patch, nothing is rebuilt.
Ugh damn, let me look into that! Thanks for the report.
>
> Cheers,
> Miguel
--
Cheers, Lorenzo
next prev parent reply other threads:[~2026-11-25 15:36 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 12:20 [PATCH v6 0/7] kbuild: significantly speed up kernel builds Lorenzo Stoakes (ARM)
2026-11-24 12:20 ` [PATCH v6 1/7] kbuild: calculate list, composite object state per object Lorenzo Stoakes (ARM)
2026-11-24 12:20 ` [PATCH v6 2/7] kbuild: implement and use depcheck to check dependency timestamps Lorenzo Stoakes (ARM)
2026-11-25 12:21 ` sashiko-bot
2026-11-25 15:33 ` Miguel Ojeda
2026-11-25 15:35 ` Lorenzo Stoakes (ARM) [this message]
2026-11-24 12:20 ` [PATCH v6 3/7] modpost: cache section relocation mismatch state Lorenzo Stoakes (ARM)
2026-11-25 12:21 ` sashiko-bot
2026-11-24 12:20 ` [PATCH v6 4/7] modpost: emit module descriptors as assembly Lorenzo Stoakes (ARM)
2026-11-24 12:20 ` [PATCH v6 5/7] kbuild: batch module finalisation Lorenzo Stoakes (ARM)
2026-11-25 9:56 ` Nicolas Schier
2026-11-25 12:28 ` Lorenzo Stoakes (ARM)
2026-11-24 12:20 ` [PATCH v6 6/7] rust: make exports.o depend on the headers generated for it Lorenzo Stoakes (ARM)
2026-11-24 12:20 ` [PATCH v6 7/7] kbuild: build rust crates in parallel with the rest of the build Lorenzo Stoakes (ARM)
2026-11-25 10:02 ` [PATCH v6 0/7] kbuild: significantly speed up kernel builds Nicolas Schier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=awcAOu7jxyVWqIcw@gremlin \
--to=ljs@kernel.org \
--cc=a.hindborg@kernel.org \
--cc=acourbot@nvidia.com \
--cc=aliceryhl@google.com \
--cc=atomlin@atomlin.com \
--cc=bjorn3_gh@protonmail.com \
--cc=boqun@kernel.org \
--cc=da.gomez@kernel.org \
--cc=dakr@kernel.org \
--cc=daniel.almeida@collabora.com \
--cc=gary@garyguo.net \
--cc=geert@linux-m68k.org \
--cc=jpoimboe@kernel.org \
--cc=justinstitt@google.com \
--cc=kees@kernel.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-m68k@lists.linux-m68k.org \
--cc=linux-modules@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=lossin@kernel.org \
--cc=mcgrof@kernel.org \
--cc=miguel.ojeda.sandonis@gmail.com \
--cc=morbo@google.com \
--cc=n.schier@fritz.com \
--cc=nathan@kernel.org \
--cc=ndesaulniers@google.com \
--cc=nsc@kernel.org \
--cc=ojeda@kernel.org \
--cc=peterz@infradead.org \
--cc=petr.pavlu@suse.com \
--cc=rust-for-linux@vger.kernel.org \
--cc=samitolvanen@google.com \
--cc=tamird@kernel.org \
--cc=tmgross@umich.edu \
--cc=torvalds@linux-foundation.org \
--cc=work@onurozkan.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.