Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Jan 2003 14:12:44 -0800
From:      Jeffrey Hsu <hsu@FreeBSD.org>
To:        Vincent Jardin <vjardin@wanadoo.fr>
Cc:        net@freebsd.org
Subject:   Re: rt_refcnt and rtentry protection ??
Message-ID:  <0H8F008W11OPKT@mta7.pltn13.pbi.net>
In-Reply-To: Message from Vincent Jardin <vjardin@wanadoo.fr> "of Wed, 08 Jan 2003 23:22:22 %2B0100." <3E075B1B006D4334@mel-rta7.wanadoo.fr>

next in thread | previous in thread | raw e-mail | index | archive | help

          if (rt->rt_flags & RTF_GATEWAY) /* XXX

	  How can we be sure that rt won't be freeed by
	  any other kernel thread now ??

	  XXX */

	> Why is rt_refnt decreased so early and not later ?
	
In the non-SMP kernel, the kernel can't be preempted so another thread
can't run.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0H8F008W11OPKT>