-
Notifications
You must be signed in to change notification settings - Fork 567
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
initial kernel config changes for criu #3300
initial kernel config changes for criu #3300
Conversation
0df32e7
to
b35ba7e
Compare
Mirrored code from fork and ran pipeline to test: https://dev.azure.com/mariner-org/mariner/_build/results?buildId=233401&view=results |
@@ -208,7 +208,7 @@ CONFIG_IPC_NS=y | |||
CONFIG_USER_NS=y | |||
CONFIG_PID_NS=y | |||
CONFIG_NET_NS=y | |||
# CONFIG_CHECKPOINT_RESTORE is not set | |||
CONFIG_CHECKPOINT_RESTORE=y |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Out of curiosity, do you know if this increases the size of the rpm significantly?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RPM size is about 35M before and after the change.
Before: 36276851
After: 36312290
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kernel boot time is also essentially unchanged: Startup finished in 1.364s (kernel)
with the changes and Startup finished in 1.362s (kernel)
without (from systemd-analyze
).
Merge Checklist
All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)
*-static
subpackages, etc.) have had theirRelease
tag incremented../cgmanifest.json
,./toolkit/tools/cgmanifest.json
,./toolkit/scripts/toolchain/cgmanifest.json
,.github/workflows/cgmanifest.json
)./SPECS/LICENSES-AND-NOTICES/data/licenses.json
,./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md
,./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON
)*.signatures.json
filessudo make go-tidy-all
andsudo make go-test-coverage
passSummary
This PR enables kernel configurations required for CRIU to run on mariner.
Change Log
CONFIG_CHECKPOINT_RESTORE
,CONFIG_BINFMT_MISC
,CONFIG_MEM_SOFT_DIRTY
,CONFIG_PACKET_DIAG
,CONFIG_UNIX_DIAG
,CONFIG_INET_DIAG
,CONFIG_INET_TCP_DIAG
,CONFIG_INET_UDP_DIAG
,CONFIG_NETFILTER_XT_MARK
,CONFIG_STP
,CONFIG_BRIDGE
,CONFIG_LLC
,CONFIG_NETLINK_DIAG
,CONFIG_MACVLAN
andCONFIG_TUN
.CONFIG_INET_SCTP_DIAG
tom
.CONFIG_INET_RAW_DIAG
andCONFIG_INET_DIAG_DESTROY
not set.Does this affect the toolchain?
YES
Test Methodology
Locally built, installed on vm, and tested.