From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795620964; b=1+16yds020gpvYci9IXQqgA6HyCAEwQtIvlx1PF144n5G3zbRsuKzsa2d1SufO2dcJtc VZOm5gP/C/qz4wwsO7DUeTtkVMgGqhznP54zZttBLD8bGeW++gLhO9y00QL1i4luKiX2W PQ9t3o9yLn/WwRsaM00IDwXruG7zIpNokjFiU62IGifyAXxDFjVpodVM95n0ofTbFbqZo 3cAFiTVRNqqA9+9VqzeIGRLORbhNbr+qbv/9Rp4PxwfcMj5lBXQWtWMIhP5fRrgxnvFM6 7bopLGYXt5/HRArvHUIGMsbwdpArsP1UfVLDQUrrT/dPywB6pwtnykxgQy97BcteXSg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795620964; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To; bh=lw37wxVIi9qwoZRiRO8Wa/V6DmkieawQKPLil0pWTFU=; b=Oi+O5ojLP+PYiaCPUayQstr3sjHxyAemUPBoSxu/lKpfdvxeB0uuY6BkfA2UETar4JuC Rh6UOL3NTBYj5UdNJACD55VdIGd7RsfrmMjBfRsokR4fSe1H3BPy64qZRg8OSeycOYtTb raGPn/wzC95eAHz3CLBXkXvJAu1QNwdgaA9Fi5nD2/8qDwkeqbr45ZTS2pPzyZDKRuwlL pwdSTYu0rDjiKE/u+GJiEmOMiYbldsYoLDPLojN3xfuZt5xqASyuUYdUn76rK4kNw7AOK WAkpRBxJcVbTXLD6HL/DTxcm80h/ojxnjLa/pX0rwr8kzCdFLKPyOEypRrCZrQwe70A== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=dEWj4e3V; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F1548606A699; Wed, 25 Nov 2026 15:36:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=dEWj4e3V Received: by smtp.kernel.org (Postfix) with ESMTPSA id 413BB1F00ACF; Wed, 25 Nov 2026 15:35:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795620963; bh=lw37wxVIi9qwoZRiRO8Wa/V6DmkieawQKPLil0pWTFU=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=dEWj4e3V7nOLoYqk+MBZQdLSDNuJhrV4z3EiRl5cjvPTK5LbvVl3LY0jwsL6WDCDt pr1FOyAE8FtrbtCcWrWzx+TVTPLr8fuXcTnb4puxjE1B4mXjxbgZWl07c6IXPPa9iy 3C7seB8GNiNCfpa5a+RrHqlwsJALMAJ080terbgexeN6GR0emH3xJQIYrzU/oGyUdN 5uQfi6zpzjjWvs+4iDHn1yqS4bC9ofsjDfV0dskr4k7zKIe6Mxq9tMObbYDulO+vR5 J56eBTfPtzi1AnEqxdLJyPf2cxT2hfgYMUcF57PsTdAG3eW1KJsQQ7MuKvHSLQlLO/ voA1wkmrbSEaQ== Date: Wed, 25 Nov 2026 15:35:52 +0000 From: "Lorenzo Stoakes (ARM)" To: Miguel Ojeda Cc: Linus Torvalds , Nathan Chancellor , Nicolas Schier , Nick Desaulniers , Bill Wendling , Justin Stitt , Geert Uytterhoeven , Luis Chamberlain , Petr Pavlu , Daniel Gomez , Sami Tolvanen , Aaron Tomlin , Josh Poimboeuf , Peter Zijlstra , Miguel Ojeda , Boqun Feng , Gary Guo , =?utf-8?B?QmrDtnJu?= Roy Baron , Benno Lossin , Andreas Hindborg , Alice Ryhl , Trevor Gross , Danilo Krummrich , Daniel Almeida , Tamir Duberstein , Alexandre Courbot , Onur =?utf-8?B?w5Z6a2Fu?= , Nicolas Schier , Kees Cook , 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 Message-ID: References: <20261124-build-speedup-v6-0-141a4f861c67@kernel.org> <20261124-build-speedup-v6-2-141a4f861c67@kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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) 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