On 3/27/23 10:40, Adrian Moreno wrote: > There are currently two bugs that can make ovs-vswitchd create an > incorrect number of threads on some corner cases. > > Firstly, if the system boots faster than 10s it's posible that the > number of cpus have not been properly read and the number of handlers is > incorrect. > > Secondly, dpif_netlink_calculate_n_handlers() can return zero if > something goes wrong during when reading cpus and the system has > 2 cpus. > > Aaron and Ilya rootcaused the problem and suggested the fixes so the > credit goes to them. > > Adrian Moreno (2): > dpif-netlink: always create at least 1 handler > ovs-thread: fix cpus not read for the first 10s > > lib/dpif-netlink.c | 2 +- > lib/ovs-thread.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) >
Thanks, Adrian, Aaron, Mike and Michael! Applied. First patch backported down to 2.16, second - to 3.1. Best regards, Ilya Maximets. _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
