cvs commit: src/sys/dev/random randomdev.c

Mike Silbersack silby at
Thu Apr 15 00:24:31 PDT 2004

On Tue, 13 Apr 2004, John Baldwin wrote:

> 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.
> --
> John Baldwin <jhb at>  <><

I'm going to have a similar problem in sendfile when I try to de-giantify
it, and I'm sure read / write will have issues as well... will WITNESS
catch this potential problem?

Mike "Silby" Silbersack

More information about the cvs-src mailing list