Date: Tue, 20 Jul 2004 18:35:17 -0400 (EDT) From: Robert Watson <rwatson@freebsd.org> To: Alfred Perlstein <alfred@freebsd.org> Cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/netinet raw_ip.c Message-ID: <Pine.NEB.3.96L.1040720183359.9228E-100000@fledge.watson.org> In-Reply-To: <20040720223019.GM95729@elvis.mu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 20 Jul 2004, Alfred Perlstein wrote: > Isn't there a call we can add to mget/malloc/zalloc to do this: > > if (flags & _WAIT) > ask_witness_if_we_can_sleep > > deferring to the actual tsleep call will never catch as many. > > If you don't have the time, I may be able to get to this tonight. I'm not sure this offers real benefits, given that we don't want to compile WITNESS in the kernel in production environments for performance reasons. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Principal Research Scientist, McAfee Research
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1040720183359.9228E-100000>