Date: Tue, 19 Dec 2000 00:23:29 -0500 (EST) From: Bosko Milekic <bmilekic@technokratis.com> To: freebsd-net@freebsd.org Subject: M_flag rename: M_WAIT to M_TRYWAIT Message-ID: <Pine.BSF.4.21.0012190003310.4823-100000@jehovah.technokratis.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0012190003310.4823-100000>