Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2002 18:51:46 -0400 (EDT)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern uipc_socket.c
Message-ID:  <200205282251.g4SMpk6g008704@khavrinen.lcs.mit.edu>
In-Reply-To: <XFMail.20020528145545.jhb@FreeBSD.org>
References:  <200205251910.g4PJAFn2088378@khavrinen.lcs.mit.edu> <XFMail.20020528145545.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Tue, 28 May 2002 14:55:45 -0400 (EDT), John Baldwin <jhb@FreeBSD.org> said:

> We allocate a new socket, with _NO_ other references to it from anyone else.

There is no guarantee that there are no other references to it, since
it is possible for the socket to be recycled in between the time it is
marked for export by the sysctl helper function and the time it is
actually copied out.  The zone allocator recycled objects in FIFO
order; I'm not sure what the behavior of UMA is in this regard.

-GAWollman


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




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