[PATCH] Fix has_better_load evaluation

2024-05-08 Thread Daniel Albers
Fixes two bugs: 1) if condition in is_better_candidate previously always evaluated to false. 2) below_load_threshold actually implemented above_load_threshold Signed-off-by: Daniel Albers --- policy.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/policy.c b/policy.c

[usteer] Fix has_better_load evaluation

2024-05-08 Thread Daniel Albers
Fixes two bugs: 1) if condition in is_better_candidate previously always evaluated to false. 2) below_load_threshold actually implemented above_load_threshold Fixes #5 --- policy.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/policy.c b/policy.c index 8c5d244..632cd4