From owner-svn-src-all@freebsd.org Mon Oct 23 16:28:31 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 27CB7E4F676 for ; Mon, 23 Oct 2017 16:28:31 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1a.eu.mailhop.org (outbound1a.eu.mailhop.org [52.58.109.202]) (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 733CF76457 for ; Mon, 23 Oct 2017 16:28:29 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: 322c15c8-b80f-11e7-a893-25625093991c X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 73.78.92.27 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [73.78.92.27]) by outbound1.eu.mailhop.org (Halon) with ESMTPSA id 322c15c8-b80f-11e7-a893-25625093991c; Mon, 23 Oct 2017 16:28:27 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id v9NGSMIQ001408; Mon, 23 Oct 2017 10:28:22 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1508776102.34364.7.camel@freebsd.org> Subject: Re: svn commit: r324926 - head/share/man/man9 From: Ian Lepore To: Konstantin Belousov , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Date: Mon, 23 Oct 2017 10:28:22 -0600 In-Reply-To: <201710231614.v9NGEtuP036360@repo.freebsd.org> References: <201710231614.v9NGEtuP036360@repo.freebsd.org> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Oct 2017 16:28:31 -0000 On Mon, 2017-10-23 at 16:14 +0000, Konstantin Belousov wrote: > Author: kib > Date: Mon Oct 23 16:14:55 2017 > New Revision: 324926 > URL: https://svnweb.freebsd.org/changeset/base/324926 > > Log: >   Expand explanation of atomicity. >    >   Mention per-location total order, out of thin air, and torn writes >   guarantees.  Mention C11 standard' memory model and one most important >   FreeBSD additional requirement, that is aligned ordinary loads and >   stores are atomic on processors. >    > [...] > > +On all architectures supported by > +.Fx , > +ordinary loads and stores of naturally aligned integer types > +are atomic, as executed by the processor. This is not true on arm{v6,v7}.  64-bit integer types can be atomically loaded and stored with the appropriate functions from atomic.h, but are not ordinarily so, regardless of alignment.  Smaller integer types do meet this requirement. -- Ian