From owner-freebsd-net Mon Dec 18 21:22:42 2000 From owner-freebsd-net@FreeBSD.ORG Mon Dec 18 21:22:41 2000 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from falla.videotron.net (falla.videotron.net [205.151.222.106]) by hub.freebsd.org (Postfix) with ESMTP id CDFE737B400 for ; Mon, 18 Dec 2000 21:22:40 -0800 (PST) Received: from modemcable213.3-201-24.mtl.mc.videotron.ca ([24.201.3.213]) by falla.videotron.net (Sun Internet Mail Server sims.3.5.1999.12.14.10.29.p8) with ESMTP id <0G5S00G07UXQ9W@falla.videotron.net> for freebsd-net@freebsd.org; Tue, 19 Dec 2000 00:22:39 -0500 (EST) Date: Tue, 19 Dec 2000 00:23:29 -0500 (EST) From: Bosko Milekic Subject: M_flag rename: M_WAIT to M_TRYWAIT To: freebsd-net@freebsd.org Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Ok, the new version of the diff is here, and it's a mere 35K (compared to the last one which was 162k): http://people.freebsd.org/~bmilekic/m_flag_rnm.diff Big bloat reduction compared to last time. It renames M_WAIT to M_TRYWAIT, M_DONTWAIT stays M_DONTWAIT, and also fixes a few rather lame mistakes, such as M_WAIT being passed to malloc() (as opposed to M_WAITOK) which may prevent future problems if we were to redefine the values of the malloc/mbuf alloc flags. M_WAIT is maintained and defined as M_TRYWAIT for now, but its use is deprecated. Anyone have final comments before this is committed? Then I can go on and change the man page to reflect it as well and send a small heads-up to -current. I have three small PostIt[tm]'s worth of "to do" fixes following this change which involve developers previously assuming that M_WAIT will never return NULL. Going in and making sure these guys check for the possibility of failure will be done once this goes in (I'm doing it in two parts to avoid merging headaches while working). Please note that this is planned only for -CURRENT at this time. Regards, Bosko Milekic bmilekic@technokratis.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message