cvs commit: src/sys/dev/random randomdev.c
Mark Murray
mark at grondar.org
Wed Apr 14 13:15:13 PDT 2004
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
More information about the cvs-src
mailing list