On Sat, Apr 29, 2017 at 06:30:59AM -0700, William Tu wrote: > Under Linux, when users create bridge named "default" or "all", although > ovs-vsctl fails but vswitchd in the background will keep retrying it, > causing the systemd-udev to reach 100% cpu utilization. The patch prevents > any attempt to create or open a netdev named "default" or "all" because > these two names are reserved on Linux due to > /proc/sys/net/ipv4/conf/ always contains directories by these names. > > The reason for high CPU utilization is due to frequent calls into kernel's > register_netdevice function, which will invoke several kernel elements who > has registered on the netdevice notifier chain. And due to creation failed, > OVS wakes up and re-recreate the device, which ends up as a high CPU loop. > > VMWare-BZ: #1842388 > Signed-off-by: William Tu <[email protected]> > Signed-off-by: Ben Pfaff <[email protected]> > Acked-by: Greg Rose <[email protected]> > --- > v1->v2: move to Linux specific implementation.
Thanks! I applied this to master, branch-2.7, and branch-2.6. _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
