rename of M_ alloc defines

Eirik Nygaard eirikn at kerneled.com
Sat May 29 15:16:54 PDT 2004


On Sat, May 29, 2004 at 09:00:44PM +0100, Hiten Pandya wrote:
> Eirik Nygaard wrote:
> >Jeffrey Hsu wondered if I could rename the mbuf alloc flags M_TRYWAIT,
> >M_DONTWAIT and M_WAIT to be MB_ instead. So they would not be confused
> >with the malloc flags in the kernel.
> >
> >I will commit the patch on monday if there are nothing I missed.
> >
> >http://eirikn.kerneled.org/dragonfly/M_toMB_inallocoperations.patch
> 
> 	You still need to rename the libmchain flags as I have mentioned
> 	quite a few times before.  They are named MB_*, and they should
> 	be renamed to MBC_* to avoid confusion.

Ah, yeah. That is true.

Here is the patch for that one as well.

http://eirikn.kerneled.org/dragonfly/libmchain-MB_toMBC_.patch

-- 
Eirik Nygaard
eirikn at xxxxxxxxxxxx    Never let a computer know you're in a hurry.





More information about the Submit mailing list