Skip to content
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

cgroup: reverse write to swap/memory on EINVAL #327

Merged
merged 1 commit into from
Apr 14, 2020

Conversation

giuseppe
Copy link
Member

if the write to the memory limit fails with EINVAL, try to reverse the
order the two files are written.

Closes: #326

Signed-off-by: Giuseppe Scrivano gscrivan@redhat.com

if the write to the memory limit fails with EINVAL, try to reverse the
order the two files are written.

Closes: containers#326

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
@haircommander
Copy link
Contributor

cgroupsv1 is cursed

LGTM, thanks @giuseppe

@rhatdan
Copy link
Member

rhatdan commented Apr 14, 2020

LGTM

@giuseppe giuseppe merged commit 99961cb into containers:master Apr 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Odd error with crun update setting memsw
3 participants