On Mon, Mar 27, 2023 at 4:40 AM Adrian Moreno <[email protected]> wrote:
>
> With the current implementation the available CPUs will not be read
> until 10s have passed since the system's boot. For systems that boot
> faster, this can make ovs-vswitchd create fewer handlers than necessary
> for some time.
>
> Fixes: 0d23948a598a ("ovs-thread: Detect changes in number of CPUs.")
>
> Reported-at: https://bugzilla.redhat.com/show_bug.cgi?id=2180460
> Suggested-by: Ilya Maximets <[email protected]>
> Signed-off-by: Adrian Moreno <[email protected]>

Looks good. !cpu_cores might also be an option but it's unclear
whether that's better, or just different. I only mention it because
count_cpu_cores__() can return 0.

Acked-by: Mike Pattrick <[email protected]>

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to