Date: Fri, 24 Oct 2014 07:26:56 +0200 From: Mateusz Guzik <mjguzik@gmail.com> To: freebsd-net@freebsd.org Subject: nd6_timer vs Giant vs locking in general Message-ID: <20141024052656.GG11222@dft-labs.eu>
next in thread | raw e-mail | index | archive | help
Hello there, dtrace revealed that the kernel schedules nd6_timer a lot. Not only that, his callout is not mpsafe so the kernel locks Giant which I believe is an oversight. Also the code looks really suspicious as it walks V_in6_ifaddrhead without any locking (not to mention there is an interestng comment: XXXRW: in6_ifaddrhead locking :>) Dropping it here in case there is someone interested in fixing this up. -- Mateusz Guzik <mjguzik gmail.com>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141024052656.GG11222>