From owner-svn-src-all@freebsd.org Sun Jul 8 22:51:50 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 42719103F4A6; Sun, 8 Jul 2018 22:51:50 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from vtr.rulingia.com (vtr.rulingia.com [IPv6:2001:19f0:5801:ebe:5400:1ff:fe53:30fd]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vtr.rulingia.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8513E70D26; Sun, 8 Jul 2018 22:51:49 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from server.rulingia.com (ppp59-167-167-3.static.internode.on.net [59.167.167.3]) by vtr.rulingia.com (8.15.2/8.15.2) with ESMTPS id w68Mpafc054892 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 9 Jul 2018 08:51:42 +1000 (AEST) (envelope-from peter@rulingia.com) X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.15.2/8.15.2) with ESMTPS id w68MpU6J005232 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 9 Jul 2018 08:51:31 +1000 (AEST) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.15.2/8.15.2/Submit) id w68MpUkv005231; Mon, 9 Jul 2018 08:51:30 +1000 (AEST) (envelope-from peter) Date: Mon, 9 Jul 2018 08:51:30 +1000 From: Peter Jeremy To: Warner Losh Cc: "Rodney W. Grimes" , Hans Petter Selasky , src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r336025 - in head/sys: amd64/include i386/include Message-ID: <20180708225130.GD78412@server.rulingia.com> References: <201807061013.w66ADgbJ087546@repo.freebsd.org> <201807061532.w66FWPEN052842@pdx.rh.CN85.dnsmgr.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="u3/rZRmxL6MmkK24" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://www.rulingia.com/keys/peter.pgp User-Agent: Mutt/1.10.0 (2018-05-17) X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.27 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: Sun, 08 Jul 2018 22:51:50 -0000 --u3/rZRmxL6MmkK24 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2018-Jul-06 09:47:00 -0600, Warner Losh wrote: >On UP systems, these additional opcodes are harmless. They take a few extra >cycles (since they lock an uncontested bus) and add a couple extra memory >barriers (which will be NOPs). On MP systems, atomics now work by default. Atomics in modules used to work by default (at least on x86) - they were explicitly not inlined so that modules on UP systems didn't have to include the lock and barrier instructions that were very expensive on some systems 20 years ago. That said, those systems are (hopefully) all dead now so moving to inlining SMP versions of atomic operations in modules is probably the correct decision now. --=20 Peter Jeremy --u3/rZRmxL6MmkK24 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE7rKYbDBnHnTmXCJ+FqWXoOSiCzQFAltClXJfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEVF QjI5ODZDMzA2NzFFNzRFNjVDMjI3RTE2QTU5N0EwRTRBMjBCMzQACgkQFqWXoOSi CzT7Kw/+PR9PTELv+1R/P4k+ZG9IRaG1CDcnodf+kvs/REVYV6VOYlKyuKepaBe4 OqwFd7h/7ws2myrjInl+REtHgKA5Le7voXK2ox0A8sGBxNTcebkQZwpEJhNqDy0O kUrKiJ3WoThoq0C3Wd2FgrXBvCLzn/qcwIFsQ679vOs7kl5bVUSUC8/3N9IpI/Gz Bks0wD3a6gV9YCil5MnsMUQMxwi39cKq47u4FWXSPEHpGx0MWkxXT7lLPFpaB4mB R67tkKC1V7qMzKWZu0POzQrWe0/z8CrempK7SKjPkHTeObMvTgjuZp5KWme591rE 1Wve9pbMpk995AoyjH2xoaucIdXxtm6vpmaEBYMKv4hEGj20i5lqrKW5F2eX4Nsu 0LOKN5Ri8xAkhOqF4VxZurtWpeTJDUjs2skPfdQq/gwWNSG2usVri3cvYigUpnYk ITSWrwXPRptw+9RtW/zsr+x2QoA3QvCbShsUjxE3RhlrmiPwDEex4mFNAizD2WBp ljvnYuEiTHWg3kMQwo+Z/fYU/dNZ1ff5VuT5O05wu/sq60NyuYRZgaTHghfaKZ0g QCWeBTaQ2PMvdIjV1Ym1ipJ5Osq7o17SXToLLZwJxE2Geycw6Ns8cYNkKvud1ew2 QRdxiBGXqjpTxzT41Nxcqb7zWZFARMpMlZsHyRa7aXS/KFVHdtE= =9XaV -----END PGP SIGNATURE----- --u3/rZRmxL6MmkK24--