cvs commit: src/sys/kern kern_descrip.c src/sys/sys file.h

Attilio Rao attilio at FreeBSD.org
Sun May 25 14:57:44 UTC 2008


attilio     2008-05-25 14:57:43 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_descrip.c 
    sys/sys              file.h 
  Log:
  Replace direct atomic operation for the file refcount witht the
  refcount interface.
  It also introduces the correct usage of memory barriers, as sometimes
  fdrop() and fhold() are used with shared locks, which don't use any
  release barrier.
  
  Revision  Changes    Path
  1.333     +2 -2      src/sys/kern/kern_descrip.c
  1.78      +5 -3      src/sys/sys/file.h


More information about the cvs-src mailing list