-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
/proc/sys/vm/compact_memory doesn't exist in Ubuntu 20.04, delete ref… #9079
Conversation
not sure if this is true.
|
what kernel are you using? i suggest to check if the file exists or not, if not then we can skip. |
I have
I'm using the kvm kernel, i.e. the one designed for running in a VM, becuase I'm running my builds in the IBM cloud. Maybe the kvm kernel accounts for the difference. Probably best to check for the existence of the file and only write it if it's there. |
@tjcw on your system, what's the output of That kernel config controls whether or not |
|
That confirms it. The kernel that you're running has that config disabled, so |
a454878
to
a795654
Compare
…erence to it. improve the handling of compact_memory Should check that compact_memory is writeable Signed-off-by: Chris Ward <tjcw@uk.ibm.com>
a795654
to
6f722e3
Compare
Closing to revise to check for file being writeable |
…erence to it.
Why I did it
Builld was failing for PLATFORM=vs on a Ubuntu 20.04 system
How I did it
Edited scripts/build_kvm_image.sh to knock out line which was referring to /proc/sys/vm/compact_memory
How to verify it
Eyeball the affected script
Which release branch to backport (provide reason below if selected)
Description for the changelog
A picture of a cute animal (not mandatory but encouraged)