Date: Thu, 20 Apr 2017 00:13:03 -0700 From: Mark Millard <markmi@dsl-only.net> To: Jia-Shiun Li <jiashiun@gmail.com> Cc: freebsd-hackers@freebsd.org, freebsd-arm <freebsd-arm@freebsd.org> Subject: Re: The arm64 fork-then-swap-out-then-swap-in failures: a program source for exploring them Message-ID: <89EA7C2B-0AE8-4E99-A1A6-4BDE9CD4D343@dsl-only.net> In-Reply-To: <7D72C3EF-8F77-4701-93C9-1488072215FC@dsl-only.net> References: <4DEA2D76-9F27-426D-A8D2-F07B16575FB9@dsl-only.net> <163B37B0-55D6-498E-8F52-9A95C036CDFA@dsl-only.net> <08E7A5B0-8707-4479-9D7A-272C427FF643@dsl-only.net> <20170409122715.GF1788@kib.kiev.ua> <9D152170-5F19-47A2-A06A-66F83CA88A09@dsl-only.net> <9DCAF95B-39A5-4346-88FC-6AFDEE8CF9BB@dsl-only.net> <8FFE95AA-DB40-4D1E-A103-4BA9FCC6EDEE@dsl-only.net> <89D6D677-3BE2-45E2-A902-CC6A0305F3F9@dsl-only.net> <585B43F7-D4C8-431A-BFFE-68B48C3214AE@dsl-only.net> <CAHNYxxP9uaEFi82oa4%2BU0ndozR7o=7g_yEq2EJ8D6YiBxUH14g@mail.gmail.com> <7D72C3EF-8F77-4701-93C9-1488072215FC@dsl-only.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2017-Apr-19, at 10:28 AM, Mark Millard <markmi@dsl-only.net> wrote: > On 2017-Apr-18, at 11:16 AM, Jia-Shiun Li <jiashiun@gmail.com> wrote: >=20 >> just noticed that rpi3 wiki page still has outdated issue info = regarding >> this (the jemalloc error). Anyone to help update it? >>=20 >> https://wiki.freebsd.org/arm64/rpi3 >=20 > stable/11 is still in process for the fork handling fixes. >=20 > One of the 2 fixes to fork behavior has just been MFC'd: > -r313772 from head is now -r317147 in stable/11 . So > interrupts will no longer trash the sp_el0 register. >=20 > There is still -r316679 from head to go so that > Copy-On-Write would work for fork. (The defect > may be more general than just being for fork.) >=20 >> -Jia-Shiun >>=20 >> On Mon, Apr 10, 2017 at 5:51 PM, Mark Millard <markmi@dsl-only.net> = wrote: >>=20 >>> buildworld buildkernel completed non-stop for the first time >>> on a BPI-M3 board. >>>=20 >>> Looks good for a check-in to svn to me (head and stable/11). >>>=20 >>> This combined with 2017-Feb-15's -r313772's fix to the fork >>> trampline code's updating of sp_el0 makes arm64 far more stable >>> for my purposes. >>>=20 >>> -r313772 was never MFC'd to stable/11. In my view it should be. Another head-vintage-specific rpi3 note on: https://wiki.freebsd.org/arm64/rpi3 is where it says: If you want to build your own ports or packages, you'll need to install = the aarch64-binutils package and link /usr/bin/ld to = /usr/local/bin/aarch64-freebsd-ld:=20 # pkg install aarch64-binutils # ln /usr/local/bin/aarch64-freebsd-ld /usr/bin/ld But using WITH_LLD_IS_LD=3D for an aarch64 buildworld now provides an aarch64 system ld that works for many things. This is now the default for aarch64. =3D=3D=3D Mark Millard markmi at dsl-only.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?89EA7C2B-0AE8-4E99-A1A6-4BDE9CD4D343>