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

Allow byte values in limits.memory.swap #692

Merged
merged 6 commits into from
Mar 28, 2024
Merged

Allow byte values in limits.memory.swap #692

merged 6 commits into from
Mar 28, 2024

Conversation

stgraber
Copy link
Member

No description provided.

Signed-off-by: Stéphane Graber <[email protected]>
@github-actions github-actions bot added Documentation Documentation needs updating API Changes to the REST API labels Mar 28, 2024
Signed-off-by: Stéphane Graber <[email protected]>
Allowing swap usage should not result in additional memory being made
available to the instance.

So limits.memory.swap should only control whether the instance is likely
to get swapped through the swappiness control.

Signed-off-by: Stéphane Graber <[email protected]>
As limits.memory.swap can grant additional unaccounted memory, limit it
to those who can use low-level LXC options.

Signed-off-by: Stéphane Graber <[email protected]>
@tych0 tych0 merged commit b965408 into lxc:main Mar 28, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Changes to the REST API Documentation Documentation needs updating
Development

Successfully merging this pull request may close these issues.

2 participants