From owner-cvs-all@FreeBSD.ORG Tue Jul 20 22:35:53 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2585016A4CE; Tue, 20 Jul 2004 22:35:53 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC07A43D1F; Tue, 20 Jul 2004 22:35:52 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.11/8.12.11) with ESMTP id i6KMZHwI011256; Tue, 20 Jul 2004 18:35:17 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i6KMZHNw011253; Tue, 20 Jul 2004 18:35:17 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Tue, 20 Jul 2004 18:35:17 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Alfred Perlstein In-Reply-To: <20040720223019.GM95729@elvis.mu.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/netinet raw_ip.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2004 22:35:53 -0000 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