Date: Tue, 08 Aug 1995 05:34:28 -0700 From: "Jordan K. Hubbard" <jkh@time.cdrom.com> To: Bruce Evans <bde@zeta.org.au> Cc: CVS-commiters@freefall.cdrom.com, cvs-sys@freefall.cdrom.com, dyson@freefall.cdrom.com Subject: Re: cvs commit: src/sys/i386/isa syscons.c Message-ID: <19405.807885268@time.cdrom.com> In-Reply-To: Your message of "Tue, 08 Aug 1995 21:22:21 %2B1000." <199508081122.VAA04961@godzilla.zeta.org.au>
next in thread | previous in thread | raw e-mail | index | archive | help
> Actually it isn't really OK to simply substitute M_NOWAIT with M_WAITOK. > If one of the malloc()s in scioctl() sleeps, then another process may > run and use the half-allocated resources. If one of the malloc()s in in > scioctl() or scopen() sleeps, then another process may run and repeat the > ioctl and (at best) allocate the resources twice. Argh. Perhaps I was too hasty. If John decides to rearchitect this, I'll pull it out of 2.1 Jordan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19405.807885268>