Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module compression #3416

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Module compression #3416

wants to merge 3 commits into from

Conversation

jakogut
Copy link
Contributor

@jakogut jakogut commented Apr 23, 2024

Enable module compression in the kernel's configuration when supported, as well as in-kernel decompression for a more seamless user experience when loading modules from containers.


Contributor checklist

Reviewer Guidelines

  • When submitting a review, please pick:
    • 'Approve' if this change would be acceptable in the codebase (even if there are minor or cosmetic tweaks that could be improved).
    • 'Request Changes' if this change would not be acceptable in our codebase (e.g. bugs, changes that will make development harder in future, security/performance issues, etc).
    • 'Comment' if you don't feel you have enough information to decide either way (e.g. if you have major questions, or you don't understand the context of the change sufficiently to fully review yourself, but want to make a comment)

@jakogut jakogut requested a review from alexgg April 24, 2024 18:24
@jakogut jakogut marked this pull request as ready for review April 24, 2024 18:24
@flowzone-app flowzone-app bot enabled auto-merge April 25, 2024 15:12
@jakogut jakogut force-pushed the module-compression branch 2 times, most recently from 76d12f7 to b3fc955 Compare April 25, 2024 19:02
@jakogut jakogut requested a review from alexgg April 25, 2024 19:26
@jakogut
Copy link
Contributor Author

jakogut commented Apr 26, 2024

@resin-jenkins retest this please

1 similar comment
@jakogut
Copy link
Contributor Author

jakogut commented Apr 30, 2024

@resin-jenkins retest this please

Enable zstd support for kmod to allow modprobe to load compressed
modules.

Change-type: patch
Signed-off-by: Joseph Kogut <joseph@balena.io>
Enable zstandard module compression in kernels > v5.13, as this feature
was introduced in commit c3d7ef377eb25, first published in that release.

Change-type: major
Signed-off-by: Joseph Kogut <joseph@balena.io>
This class is no longer necessary, as the kernel is configured to use
module compression and in-kernel decompression when available.

Change-type: patch
Signed-off-by: Joseph Kogut <joseph@balena.io>
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.

None yet

2 participants