Date: Wed, 29 Oct 2014 17:09:15 +1100 From: Peter Jeremy <peter@rulingia.com> To: Mateusz Guzik <mjguzik@gmail.com> Cc: Alan Cox <alc@rice.edu>, Konstantin Belousov <kib@FreeBSD.org>, freebsd-arch@freebsd.org Subject: Re: amd64 modules still use atomics as callable functions Message-ID: <20141029060915.GA56181@server.rulingia.com> In-Reply-To: <20141027224901.GC28049@dft-labs.eu> References: <20141027224901.GC28049@dft-labs.eu>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <mjguzik@gmail.com> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141029060915.GA56181>