svn commit: r364075 - in head/sys: netinet netinet6

Bjoern A. Zeeb bz at FreeBSD.org
Mon Aug 10 10:58:44 UTC 2020


Author: bz
Date: Mon Aug 10 10:58:43 2020
New Revision: 364075
URL: https://svnweb.freebsd.org/changeset/base/364075

Log:
  MC: add a note with reference to the discussion and history as-to why we
  are where we are now.  The main thing is to try to get rid of the delayed
  freeing to avoid blocking on the taskq when shutting down vnets.
  
  X-Timeout:	if you still see this before 14-RELEASE remove it.

Modified:
  head/sys/netinet/in_mcast.c
  head/sys/netinet6/in6_mcast.c

Modified: head/sys/netinet/in_mcast.c
==============================================================================
--- head/sys/netinet/in_mcast.c	Mon Aug 10 10:52:54 2020	(r364074)
+++ head/sys/netinet/in_mcast.c	Mon Aug 10 10:58:43 2020	(r364075)
@@ -251,6 +251,7 @@ inm_release_wait(void *arg __unused)
 	taskqueue_drain(taskqueue_inm_free, &inm_free_task);
 }
 #ifdef VIMAGE
+/* XXX-BZ FIXME, see D24914. */
 VNET_SYSUNINIT(inm_release_wait, SI_SUB_PROTO_DOMAIN, SI_ORDER_FIRST, inm_release_wait, NULL);
 #endif
 

Modified: head/sys/netinet6/in6_mcast.c
==============================================================================
--- head/sys/netinet6/in6_mcast.c	Mon Aug 10 10:52:54 2020	(r364074)
+++ head/sys/netinet6/in6_mcast.c	Mon Aug 10 10:58:43 2020	(r364075)
@@ -549,6 +549,7 @@ in6m_release_wait(void *arg __unused)
 	taskqueue_drain_all(taskqueue_in6m_free);
 }
 #ifdef VIMAGE
+/* XXX-BZ FIXME, see D24914. */
 VNET_SYSUNINIT(in6m_release_wait, SI_SUB_PROTO_DOMAIN, SI_ORDER_FIRST, in6m_release_wait, NULL);
 #endif
 


More information about the svn-src-head mailing list