Date: Wed, 14 Apr 2004 21:12:34 +0100 From: Mark Murray <mark@grondar.org> To: John Baldwin <jhb@FreeBSD.ORG> Cc: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/dev/random randomdev.c Message-ID: <200404142012.i3EKCZIn013035@grimreaper.grondar.org> In-Reply-To: Your message of "Tue, 13 Apr 2004 22:58:31 EDT." <200404132258.31816.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
John Baldwin writes: > On Monday 12 April 2004 05:13 am, Mark Murray wrote: > > markm 2004/04/12 02:13:24 PDT > > > > FreeBSD src repository > > > > Modified files: > > sys/dev/random randomdev.c > > Log: > > Fix "sleeping without a mutex" panic. > > You should drop the lock before uiomove(). If the uio can possibly reference > user memory, then uiomove() will do a copyout() which can fault and thus > sleep if the page is in swap. Oops. Thank you! Will do. M -- Mark Murray iumop ap!sdn w,I idlaH
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404142012.i3EKCZIn013035>