From owner-freebsd-arch Wed Jan 22 13:23:49 2003 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B03AF37B401; Wed, 22 Jan 2003 13:23:48 -0800 (PST) Received: from tesla.distributel.net (nat.MTL.distributel.NET [66.38.181.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE99B43EB2; Wed, 22 Jan 2003 13:23:47 -0800 (PST) (envelope-from bmilekic@unixdaemons.com) Received: (from bmilekic@localhost) by tesla.distributel.net (8.11.6/8.11.6) id h0MLPVU77256; Wed, 22 Jan 2003 16:25:31 -0500 (EST) (envelope-from bmilekic@unixdaemons.com) Date: Wed, 22 Jan 2003 16:25:31 -0500 From: Bosko Milekic To: Jeffrey Hsu Cc: arch@FreeBSD.org Subject: Re: Alfre's malloc changes: the next step Message-ID: <20030122162531.B77209@unixdaemons.com> References: <0H94005IYWJT1Z@mta5.snfc21.pbi.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <0H94005IYWJT1Z@mta5.snfc21.pbi.net>; from hsu@FreeBSD.org on Wed, Jan 22, 2003 at 01:20:59PM -0800 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Jan 22, 2003 at 01:20:59PM -0800, Jeffrey Hsu wrote: > I'm going to weigh in here on the side of the all the seasoned BSD veterans > that we should preserve the M_WAIT flag. I like saying M_WAIT when I mean > M_WAIT. I dislike saying 0 when I mean M_WAIT. > > The fundamental problem here is that M_WAIT looks like a bit flag. That > problem should be directly solved by defining it to be a bit flag. There > are no ABI issues with this in FreeBSD 5.x. > > Warner's proposal to automatically detect programming error is also > a good idea. And, that relies on making M_WAIT a bit flag too. > > Let's solve the problem where it really lies by simply making M_WAIT > a bit flag. > > Jeffrey Not one of you has said why you think that the wait behavior should not be the default behavior and why the dontwait behavior shouldn't be treated like an exception. -- Bosko Milekic * bmilekic@unixdaemons.com * bmilekic@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message