Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Mar 2005 20:09:00 +0000 (UTC)
From:      Alan Cox <alc@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern uipc_mbuf.c src/sys/sys mbuf.h
Message-ID:  <200503062009.j26K90cs009199@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503062009.j26K90cs009199>