From owner-freebsd-arch@FreeBSD.ORG Wed Oct 29 06:09:39 2014 Return-Path: Delivered-To: freebsd-arch@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 94326AB5; Wed, 29 Oct 2014 06:09:39 +0000 (UTC) Received: from vps.rulingia.com (vps.rulingia.com [103.243.244.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps.rulingia.com", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0DB08390; Wed, 29 Oct 2014 06:09:37 +0000 (UTC) Received: from server.rulingia.com (c220-239-242-83.belrs5.nsw.optusnet.com.au [220.239.242.83]) by vps.rulingia.com (8.14.9/8.14.9) with ESMTP id s9T69MFA077927 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 29 Oct 2014 17:09:28 +1100 (AEDT) (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.14.9/8.14.9) with ESMTP id s9T69GkJ061291 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 29 Oct 2014 17:09:16 +1100 (EST) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.14.9/8.14.9/Submit) id s9T69FKs061290; Wed, 29 Oct 2014 17:09:15 +1100 (EST) (envelope-from peter) Date: Wed, 29 Oct 2014 17:09:15 +1100 From: Peter Jeremy To: Mateusz Guzik Subject: Re: amd64 modules still use atomics as callable functions Message-ID: <20141029060915.GA56181@server.rulingia.com> References: <20141027224901.GC28049@dft-labs.eu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Dxnq1zWXvFF0Q93v" Content-Disposition: inline In-Reply-To: <20141027224901.GC28049@dft-labs.eu> X-PGP-Key: http://www.rulingia.com/keys/peter.pgp User-Agent: Mutt/1.5.23 (2014-03-12) Cc: Alan Cox , Konstantin Belousov , freebsd-arch@freebsd.org X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2014 06:09:39 -0000 --Dxnq1zWXvFF0Q93v Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2014-Oct-27 23:49:01 +0100, Mateusz Guzik wrote: >Turns out several years ago the kernel was modified to provide actual >functions for atomic operations and modules are always using them. > >I propose plugging it on amd64 in head. > >For stable/10 we can always provide them, but inline in modules by default >(testing a KLD_WANT_ATOMIC_FUNC knob?). See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D173322 --=20 Peter Jeremy --Dxnq1zWXvFF0Q93v Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJUUISLXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFRUIyOTg2QzMwNjcxRTc0RTY1QzIyN0Ux NkE1OTdBMEU0QTIwQjM0AAoJEBall6Dkogs0I98P/ji+wVot8LztKeBy3A3J76ny 6InZ1+HTkApGBG4aiEhTBijDZywZENXvs7oU3e8bnvGZdO1/wdzGsbD05XZBkYjA fI5haPKAKv8sp91pTbrE2C/TpRthPQpuRTsTFUlCyfAS7Owxd7+HryDkvz6socGy JWeqqgT3OsVwSwtuoeNFtvSqpDlXLKVGgsIEIcQqVjnRYWkf0VxuKvPclvRKiuxQ DzLi/dQhiIAwGaGZMJ7FTNZjNKhZ/qliENPueIMbAHgUlcHbd7i7cCc3dr4EVNfq GEVYWxwYLCmtQCSTnpvRmOjsceUpfsR6tKVrGWvjUdThgKWWH3XVL1D9XSimF3Xg pxX3hklS5aNDEzlm+McidlIH8nNWCSsHPZm0A5in+QROJUg4T7hjWvgIXQmpC/f1 Dd713JV0g/C+NdUwkKgYm09t0WY36BdrntTuN3dDPUY7WVA/uEcjFeI07OCMogOU XwLaFSNtwpH4BzOOc5FxzjAZ2GNEHisek7QGFk/g3wfdVMtC57hXZ7eYI6jsTQ8v F1q/3pI9+j9y9gObAm7+08s1HHULJbgez/Od8z2aGLkMIK1fbcSS76H6moG62MnQ pIE9C6IqqiSUtKo9zYjmp6C+XAGHEnKhOo+XgZ3vDqdvZt7XrKRG9LH/U1x9Eten L4ihGzecF+4LyLNNp4Ff =rOZX -----END PGP SIGNATURE----- --Dxnq1zWXvFF0Q93v--