From owner-freebsd-arm@FreeBSD.ORG Fri Feb 13 12:21:45 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EF640AB5 for ; Fri, 13 Feb 2015 12:21:45 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D0C59836 for ; Fri, 13 Feb 2015 12:21:45 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t1DCLjlE086088 for ; Fri, 13 Feb 2015 12:21:45 GMT (envelope-from root@phabric-backend.isc.freebsd.org) Received: (from root@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t1DCLjjl086087; Fri, 13 Feb 2015 12:21:45 GMT (envelope-from root) Date: Fri, 13 Feb 2015 12:21:45 +0000 To: freebsd-arm@freebsd.org From: "zbb (Zbigniew Bodek)" Subject: [Differential] [Request, 2 lines] D1833: Add memory barriers to buf_ring Message-ID: X-Priority: 3 Thread-Topic: D1833: Add memory barriers to buf_ring X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: Thread-Index: OGRiNDkxY2NmMjRiNTc0MjQ4YTYwNWVkNzIy X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , , , MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2015 12:21:46 -0000 zbb created this revision. zbb added reviewers: kmacy, rpaulo, imp. zbb added a subscriber: freebsd-arm. REVISION SUMMARY This issue is mostly the fix for ARMv7 architecture. Make sure that memory writes appear in correct order and that the correct value is observable on the dequeue side. Submitted by: Wojciech Macek Obtained from: Semihalf REVISION DETAIL https://reviews.freebsd.org/D1833 AFFECTED FILES sys/sys/buf_ring.h To: zbb, kmacy, rpaulo, imp Cc: freebsd-arm