Skip to content

modules: memory: fix fully utilized swap percentage calculation - #4646

Merged
Alexays merged 1 commit into
Alexays:masterfrom
gszy:swap-abused
Dec 18, 2025
Merged

Alexays merged 1 commit into
Alexays:masterfrom
gszy:swap-abused

Conversation

@gszy

@gszy gszy commented Nov 18, 2025

Copy link
Copy Markdown
Contributor

Do calculate used swap percentage even if swapfree is 0, otherwise reported used_swap_percentage would be 0, even though it should be 100.

Do calculate used swap percentage even if swapfree is 0, otherwise
reported used_swap_percentage would be 0, even though it should be 100.

Signed-off-by: Grzegorz Szymaszek <gszymaszek@short.pl>
@Alexays
Alexays merged commit c1218fa into Alexays:master Dec 18, 2025
@gszy
gszy deleted the swap-abused branch January 15, 2026 14:56
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.

2 participants