Re: [PATCH proxmox v2 02/40] resource-scheduling: move score_nodes_to_start_service to scheduler crate

Dominik Rusovac
2026-03-26T10:11:39Z

lgtm

On Tue Mar 24, 2026 at 7:29 PM CET, Daniel Kral wrote:
> This is done so score_nodes_to_start_service(...) can be generalized in
> the following patches, so other usage stat structs can reuse the same
> scoring method.
>
> Signed-off-by: Daniel Kral <d.kral@proxmox.com>
> ---
> changes v1 -> v2:
> - add patch message
> - do not change visibility of pve_static::add_cpu_usage() (therefore the
> inlining of the code in the patch before this)

[snip]