cvs commit: src/sys/kern uipc_mbuf.c src/sys/sys mbuf.h

Alan Cox alc at FreeBSD.org
Sun Mar 6 20:09:00 GMT 2005


alc         2005-03-06 20:09:00 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             uipc_mbuf.c 
    sys/sys              mbuf.h 
  Log:
  The m_ext reference counts are potentially shared and modified
  asynchronously by different threads.  Thus, declare as volatile the
  reference count that is accessed through m_ext's pointer, ref_cnt.
  Revert the previous change, revision 1.144, that casts as volatile a
  single dereference of ref_cnt.
  
  Reviewed by: bmilekic, dwhite
  Problem reported by: kris
  MFC after: 3 days
  
  Revision  Changes    Path
  1.145     +4 -6      src/sys/kern/uipc_mbuf.c
  1.168     +1 -1      src/sys/sys/mbuf.h


More information about the cvs-src mailing list