From owner-cvs-all@FreeBSD.ORG Sun Mar 6 20:09:00 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A7ACE16A4CE; Sun, 6 Mar 2005 20:09:00 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 681AB43D48; Sun, 6 Mar 2005 20:09:00 +0000 (GMT) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j26K90oP009200; Sun, 6 Mar 2005 20:09:00 GMT (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j26K90cs009199; Sun, 6 Mar 2005 20:09:00 GMT (envelope-from alc) Message-Id: <200503062009.j26K90cs009199@repoman.freebsd.org> From: Alan Cox Date: Sun, 6 Mar 2005 20:09:00 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern uipc_mbuf.c src/sys/sys mbuf.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Mar 2005 20:09:00 -0000 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