This repository was archived by the owner on May 30, 2023. It is now read-only.
sys-kernel: enable BPF_JIT, POWER_SUPPLY, overlayfs options#691
Merged
Conversation
added 3 commits
November 17, 2020 15:01
CONFIG_BPF_JIT_ALWAYS_ON enables BPF JIT and removes BPF interpreter to avoid speculative execution of BPF instructions by the interpreter. See also flatcar/Flatcar#185.
CONFIG_POWER_SUPPLY enables power supply class used to represent battery, UPS, AC or DC power supply properties to user-space. It defines core set of attributes, which should be applicable to most power supplies out there. See also flatcar/Flatcar#215.
Enable CONFIG_OVERLAY_FS_METACOPY, metadata only copy up feature in overlayfs. When turned on, overlayfs will only copy up metadata when a metadata specific operation like chown/chmod is performed. Full file will be copied up later when file is opened for WRITE operation. More or less like delayed data copy up operation. Enable CONFIG_OVERLAY_FS_REDIRECT_DIR, which is equivalent to "redirect_dir=on" in the kernel command-line. When turned on, overlayfs will copy up directory first, before the actual contents. See also flatcar/Flatcar#170
This was referenced Nov 17, 2020
Contributor
Author
|
CI passed |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Enable the following kernel configs.
CONFIG_BPF_JIT_ALWAYS_ONenables BPF JIT and removes BPF interpreter to avoid speculative execution of BPF instructions by the interpreter.CONFIG_POWER_SUPPLYenables power supply class used to represent battery, UPS, AC or DC power supply properties to user-space.It defines core set of attributes, which should be applicable to most power supplies out there.
CONFIG_OVERLAY_FS_METACOPY, metadata only copy up feature in overlayfs. When turned on, overlayfs will only copy up metadata when a metadata specific operation like chown/chmod is performed.Full file will be copied up later when file is opened for WRITE operation. More or less like delayed data copy up operation.
CONFIG_OVERLAY_FS_REDIRECT_DIR, which is equivalent to "redirect_dir=on" in the kernel command-line.When turned on, overlayfs will copy up directory first, before the actual contents.
Fixes flatcar/Flatcar#185
Fixes flatcar/Flatcar#215
Fixes flatcar/Flatcar#170
How to use
Testing done
CI passed http://localhost:9091/job/os/job/manifest/1485/cldsv/