Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Oct 2009 17:59:24 +0000 (UTC)
From:      Nathan Whitehorn <nwhitehorn@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/powerpc/aim copyinout.c
Message-ID:  <200910311759.n9VHxco2004160@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
nwhitehorn    2009-10-31 17:59:24 UTC

  FreeBSD src repository

  Modified files:
    sys/powerpc/aim      copyinout.c 
  Log:
  SVN rev 198724 on 2009-10-31 17:59:24Z by nwhitehorn
  
  Fix a race in casuword() exposed by csup. casuword() non-atomically read
  the current value of its argument before atomically replacing it, which
  could occasionally return the wrong value on an SMP system. This resulted
  in user mutex operations hanging when using threaded applications.
  
  Revision  Changes    Path
  1.17      +13 -2     src/sys/powerpc/aim/copyinout.c



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