[PATCH v3 0/3] checksyscalls: only run when necessary

Thomas Weißschuh posted 3 patches 2 days, 22 hours ago
Kbuild                   | 14 ++++++++++----
arch/mips/Makefile       |  6 ++----
scripts/checksyscalls.sh |  9 ++++++++-
3 files changed, 20 insertions(+), 9 deletions(-)
[PATCH v3 0/3] checksyscalls: only run when necessary
Posted by Thomas Weißschuh 2 days, 22 hours ago
Currently checksyscalls.sh is unconditionally executed during each build.
Most of these executions are unnecessary.

Only run checksyscalls.sh if one of its inputs have changed.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
Changes in v3:
- Use $(addprefix) to print instance identification
- Link to v2: https://patch.msgid.link/20260324-kbuild-missing-syscalls-v2-0-651b8beb0bfd@weissschuh.net

Changes in v2:
- Also send to kbuild maintainers
- Link to v1: https://patch.msgid.link/20260303-kbuild-missing-syscalls-v1-0-3b4d69b68c75@weissschuh.net

---
Thomas Weißschuh (3):
      checksyscalls: move path to reference table to a variable
      checksyscalls: only run when necessary
      checksyscalls: move instance functionality into generic code

 Kbuild                   | 14 ++++++++++----
 arch/mips/Makefile       |  6 ++----
 scripts/checksyscalls.sh |  9 ++++++++-
 3 files changed, 20 insertions(+), 9 deletions(-)
---
base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
change-id: 20260212-kbuild-missing-syscalls-e328de3c4b54

Best regards,
--  
Thomas Weißschuh <linux@weissschuh.net>

Re: [PATCH v3 0/3] checksyscalls: only run when necessary
Posted by Nicolas Schier 2 days, 17 hours ago
On Thu, 02 Apr 2026 16:36:17 +0200, Thomas Weißschuh wrote:
> checksyscalls: only run when necessary
> 
> Currently checksyscalls.sh is unconditionally executed during each build.
> Most of these executions are unnecessary.
> 
> Only run checksyscalls.sh if one of its inputs have changed.
> 
> [...]

Applied to kbuild/linux.git (kbuild-next-unstable), thanks!

[1/3] checksyscalls: move path to reference table to a variable
      https://git.kernel.org/kbuild/c/263246f2
[2/3] checksyscalls: only run when necessary
      https://git.kernel.org/kbuild/c/a414e4ba
[3/3] checksyscalls: move instance functionality into generic code
      https://git.kernel.org/kbuild/c/a46f42c3

Please look out for regression or issue reports or other follow up
comments, as they may result in the patch/series getting dropped,
reverted or modified (e.g. trailers). Patches applied to the
kbuild-next-unstable branch are accepted pending wider testing in
linux-next and any post-commit review; they will generally be moved
to the kbuild-next branch in about a week if no issues are found.

Best regards,
-- 
Nicolas