config: enable CONFIG_HIBERNATION_COMP_LZ4 for all variants (closes #857) - #988
Open
mayankmohan1992 wants to merge 1 commit into
Open
config: enable CONFIG_HIBERNATION_COMP_LZ4 for all variants (closes #857)#988mayankmohan1992 wants to merge 1 commit into
mayankmohan1992 wants to merge 1 commit into
Conversation
…achyOS#857) LZ4 decompression is ~50% faster than LZO with only ~6% larger image, reducing hibernate restore time. LZO remains enabled as the default compressor (CONFIG_HIBERNATION_DEF_COMP="lzo"), so existing hibernate images still restore - purely additive, zero regression. CRYPTO_LZ4 is already =y/=m in every variant config, so the option is functional. CRYPTO_LZ4HC dependency satisfied.
|
Yes This |
|
Is there a reason why this is being held back? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Enables
CONFIG_HIBERNATION_COMP_LZ4=yin all 9 variant configs (thehardenedvariant already had it). Closes #857.CONFIG_HIBERNATION_DEF_COMP="lzo"), so existing hibernate images still restore — purely additive, zero regression.CRYPTO_LZ4is=y/=min every variant config (alsoCRYPTO_LZ4HC), so the option is functional, not a no-op.Scope / safety
CONFIG_HIBERNATION_COMP_LZ4=yandCONFIG_HIBERNATION_COMP_LZO=y;linux-cachyos-hardenedunchanged (was already=y).Test plan
git diffshows only theis not set→=yflip in each configCRYPTO_LZ4present in all variants (functional dependency met)Generated from the open-issues triage; this is the only config-level "easy" fix that is both additive and zero-risk. Other hardware-agnostic issues (#985 sched panic, #745/#862 sig/IMA, #427 NVMe builtin, #560/#367/#803 dep/option changes) were deliberately excluded: they either require edits in the separate
cachyos/kernel-patchestree, are unresolved upstream bugs, or are behavioral/security-policy decisions that shouldn't be unilaterally flipped.🤖 Opened via Hermes agent.