From owner-cvs-src-old@FreeBSD.ORG Sat Oct 31 17:59:38 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1ECC10657F8 for ; Sat, 31 Oct 2009 17:59:38 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 755578FC16 for ; Sat, 31 Oct 2009 17:59:38 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n9VHxchX004161 for ; Sat, 31 Oct 2009 17:59:38 GMT (envelope-from nwhitehorn@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n9VHxco2004160 for cvs-src-old@freebsd.org; Sat, 31 Oct 2009 17:59:38 GMT (envelope-from nwhitehorn@repoman.freebsd.org) Message-Id: <200910311759.n9VHxco2004160@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to nwhitehorn@repoman.freebsd.org using -f From: Nathan Whitehorn Date: Sat, 31 Oct 2009 17:59:24 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/powerpc/aim copyinout.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Oct 2009 17:59:38 -0000 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