Date: Wed, 15 Jan 1997 14:17:17 -0500 (EST) From: "John S. Dyson" <toor@dyson.iquest.net> To: phk@critter.dk.tfs.com (Poul-Henning Kamp) Cc: bde@zeta.org.au, dg@root.com, bugs@freebsd.org, dyson@freebsd.org, wollman@freebsd.org Subject: Re: malloc(..., M_WAITOK) found harmful Message-ID: <199701151917.OAA00198@dyson.iquest.net> In-Reply-To: <28145.853355447@critter.dk.tfs.com> from "Poul-Henning Kamp" at Jan 15, 97 08:10:47 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> > In message <199701151754.EAA31434@godzilla.zeta.org.au>, Bruce Evans writes: > >> Arrg!!!! I didn't even know about "mcl_map". Okay, this is easy to fix - > >>mcl_map simply needs to be added to the list of maps in vm_map_entry_create. > > > >The maps are special-cased in too many other places. I added a check for > >mcl_map after all the relevant checks for mb_map in vm_map.c. It is also > >missing in vm_object.c. I think it is already handled right in vm_kern.c. > > Isn't it time to associate an attribute with the map, where we can see > this special casing, rather than have these if() statements get longer > and longer... ? > Yes. John
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701151917.OAA00198>