From owner-freebsd-arch Sun Jan 19 19:40:38 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 A952837B401 for ; Sun, 19 Jan 2003 19:40:37 -0800 (PST) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7095343F3F for ; Sun, 19 Jan 2003 19:40:37 -0800 (PST) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 46B34AE25C; Sun, 19 Jan 2003 19:40:37 -0800 (PST) Date: Sun, 19 Jan 2003 19:40:37 -0800 From: Alfred Perlstein To: arch@freebsd.org Subject: removal of M_WAIT, M_WAITOK, M_TRYWAIT. Message-ID: <20030120034037.GA33821@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i 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 I'm tired of seeing programming errors because of the M_* flags to malloc and mget being weird. I'm removing the "0" flags, meaning M_WAIT, M_WAITOK, M_TRYWAIT. I am also consolidating both M_NOWAIT and M_DONTWAIT into a single flag. Only M_NOWAIT will be available any more. I've been meaning to do this for several years now. Any third parties can simply define them as the "wait" args to zero if they really need them. But I think we've been burned enough times now to get rid of it. I'm cleaning up my generated diff now, and I'll be posting it shortly -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message