Skip to content

Conversation

@d-e-s-o
Copy link
Contributor

@d-e-s-o d-e-s-o commented Jan 6, 2026

Generate vmlinux.h headers for all supported architectures in parallel, by using dedicated jobs. Doing so speeds up the workflow from ~27min to ~6min.

@d-e-s-o
Copy link
Contributor Author

d-e-s-o commented Jan 6, 2026

Hm...seems as if parallel kernel source downloads may get blocked.

@d-e-s-o d-e-s-o marked this pull request as draft January 6, 2026 18:49
We really shouldn't be using the moving target that is "the latest"
Linux kernel version: just changing a config flag would introduce a
bunch of completely unrelated changes, including potentially
wrecking a config if certain high profile options were to be renamed.

Fixate the Linux kernel version so that we have full control over what
we use. Stick to 6.18, which is what commit 991dd4b ("Update
vmlinux.h headers from Linux 6.14 to 6.18") bumped us to.

Signed-off-by: Daniel Müller <[email protected]>
@d-e-s-o
Copy link
Contributor Author

d-e-s-o commented Jan 6, 2026

Hm...seems as if parallel kernel source downloads may get blocked.

This should be fixed as a side effect of #15

Parallel downloads of pahole from git.kernel.org using HTTPS seems to be
blocked randomly, rendering parallel vmlinux.h header generation flaky &
unusable. Switch to cloning Arnaldo's mirror at
https://github.com/acmel/dwarves, which doesn't pose this restriction.

Signed-off-by: Daniel Müller <[email protected]>
Generate vmlinux.h headers for all supported architectures in parallel,
by using dedicated jobs. Doing so speeds up the workflow from ~27min to
~6min.

Signed-off-by: Daniel Müller <[email protected]>
@d-e-s-o d-e-s-o marked this pull request as ready for review January 6, 2026 19:47
@d-e-s-o
Copy link
Contributor Author

d-e-s-o commented Jan 6, 2026

Includes #15, which is a dependency.

@d-e-s-o
Copy link
Contributor Author

d-e-s-o commented Jan 7, 2026

Closing as per #16 (comment)

@d-e-s-o d-e-s-o closed this Jan 7, 2026
@d-e-s-o d-e-s-o deleted the topic/parallel branch January 7, 2026 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant