Skip to content

checksyscalls: only run when necessary

Thomas Weißschuh linux-arch linux-kbuild linux-mips lkml 3 versions – In review

Get series with b4
b4 am 20260402-kbuild-missing-syscalls-v3-0-6641be1de2db@weissschuh.net change-id 20260212-kbuild-missing-syscalls-e328de3c4b54

Versions newest first

  1. v3 Latest3 patches 1 replyIn review
  2. v23 patches 3 repliesSuperseded
  3. v13 patches 0 repliesSuperseded

Changes in v3 from the cover letter

- Use $(addprefix) to print instance identification
- Link to v2: https://patch.msgid.link/20260324-kbuild-missing-syscalls-v2-0-651b8beb0bfd@weissschuh.net

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3checksyscalls: move path to reference table to a variablescripts/checksyscalls.sh+3 -10 replies
2/3checksyscalls: only run when necessaryKbuild scripts/checksyscalls.sh+14 -30 replies
3/3checksyscalls: move instance functionality into generic codeKbuild arch/mips/Makefile+4 -60 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchArnd BergmannNicolas Schier
1/3A-b R-b
2/3A-b R-b
3/3A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] 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.

---
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,

Signature · 1 line
Thomas Weißschuh <[email protected]>