Date: Tue, 28 May 2002 20:00:19 -0400 (EDT) From: John Baldwin <jhb@FreeBSD.org> To: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/kern uipc_socket.c Message-ID: <XFMail.20020528200019.jhb@FreeBSD.org> In-Reply-To: <200205282306.g4SN60YG008784@khavrinen.lcs.mit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On 28-May-2002 Garrett Wollman wrote: > <<On Tue, 28 May 2002 19:01:13 -0400 (EDT), John Baldwin <jhb@FreeBSD.org> said: > >> UMA only gives us a socket that has been uma_zfree()'d. The sysctl >> helper should gain a reference to each socket while holding an appropriate >> lock on the list before the copyout and drop it around the copyout if >> it is not doing so already. > > You're completely missing the point of this implementational strategy, > again. And you are being completely vague about what the current strategy actually is. Are reference counts too expensive or something? You are worried about a rather silly race because you can free things that are still in use. How is this sane? -- John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ 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?XFMail.20020528200019.jhb>