cvs commit: src/sys/kern kern_subr.c

Ed Schouten ed at FreeBSD.org
Thu Aug 28 19:35:09 UTC 2008


ed          2008-08-28 19:34:58 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_subr.c 
  Log:
  SVN rev 182399 on 2008-08-28 19:34:58Z by ed
  
  Make ureadc() warn when holding any locks, just like uiomove().
  
  A couple of months ago I was quite impressed, because when I was writing
  code, I discovered that uiomove() would not allow any locks to be held,
  while ureadc() did, mainly because ureadc() is implemented using the
  same building blocks as uiomove().
  
  Let's see if this triggers any aditional witness warnings on our source
  tree.
  
  Reviewed by:    atillio
  
  Revision  Changes    Path
  1.105     +3 -0      src/sys/kern/kern_subr.c


More information about the cvs-src mailing list