cvs commit: src/sys/kern kern_descrip.c

Ed Schouten ed at FreeBSD.org
Sat Aug 9 12:42:32 UTC 2008


ed          2008-08-09 12:42:12 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_descrip.c 
  Log:
  SVN rev 181465 on 2008-08-09 12:42:12Z by ed
  
  Remove unneeded D_NEEDGIANT from /dev/fd/{0,1,2}.
  
  There is no reason the fdopen() routine needs Giant. It only sets
  curthread->td_dupfd, based on the device unit number of the cdev.
  
  I guess we won't get massive performance improvements here, but still, I
  assume we eventually want to get rid of Giant.
  
  Revision  Changes    Path
  1.336     +0 -1      src/sys/kern/kern_descrip.c


More information about the cvs-src mailing list