azurelinux
azurelinux copied to clipboard
config: azurelinux 3.0 kernel config
Optimize and Converge Kernel Configuration for Enhanced Performance and Maintainability
This config is a based on: https://github.com/microsoft/azurelinux/blob/3.0/SPECS/kernel/config
Key Changes:
-
Deprecated outdated configuration options that no longer provide benefits in current hardware and software contexts.
-
We are suggesting these optimizations for our WSL/LCOW convergence to azurelinux.
@rlmenge Please review.
@allenpais I was hoping we could disable all but perhaps one of the CONFIG_RD_*
options to reduce image size.
@tyhicks Thanks for taking the time out to review. I have addressed your feedback. There will probably be one or two more commits that will go in. I should have it pushed soon.
I was able to cherry-pick a majority of these changes onto a test branch and build a test azl3 RPM!
- created new branch off of 6.6.29.1 upgrade PR
- cherry-picked the 2 commits from this PR (required a small git merge to match 6.6.29.1)
- updated the spec and configs to match Azure Linux toolchain for 3.0
- Built the rpm :) (pipeline run)
It will not properly make an initramfs at the moment because dracut explicitly expects xen modules. We can/should change dracut from relying on xen but this along with the kernel config xen changes should be its own PR
Right, we are currently in the middle of a rework to the set of kernel modules needed by dracut which we will have to sync with this change: https://github.com/microsoft/azurelinux/pull/9144