From owner-svn-src-head@freebsd.org Thu Jun 11 22:04:19 2020 Return-Path: Delivered-To: svn-src-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 38A34342DEF for ; Thu, 11 Jun 2020 22:04:19 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic302-22.consmr.mail.gq1.yahoo.com (sonic302-22.consmr.mail.gq1.yahoo.com [98.137.68.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49jdDf0svBz4TfW for ; Thu, 11 Jun 2020 22:04:17 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: 3oKnKC4VM1lYGbS2O.u1wktRLDRU3MpiMqXIjh4dvuwHa6Xa31BcqeOaAnYEkna KgaMLTs5p9sqvgW.RjjxXYAYJV_6iypseBy49dFp5GhbRsJCpQNNmO6YvGDG41HQIOfEPglmyPik aV4UMifLCBUIWxL6u_K6BACbAvvUnI5FsjDAz.wZTX.UYeDMA65WgzCdP3KmvJvecdk_9BPZbL4J mGIz95E8oulC1mmypm9MPQOPMUyRpgJ3CQZepvvRYWc28Z_yc9XFZ70dUerzNBB0PEFmKt3th.1t AUIAfE9QRVhuyWUcFAg5OHE6ub.5SKbZEectpOWSMO4PxpfT6kUO6cwEtUADP3zoD24aq1elLkGm 7z9XAvXtjo0IPiCmScio_QcE46rCvDuY2zWVIdSJwy3GOYTcV63i6CvQ0uMZKLdEa.y4A5T7vxLg K0m_lWVTOuf4NTVp07JeWzKHcD9CIgYpDZMj1eO.6wusSnDxL0vG6tp1MVbRIBjAIWw2PRfluS0M YaMDNeLEPu8If2Mq92x422oajBAuVtitunhITSCS9cUsbtOTPTBTPgPwJ40xc1sSlX9TCRskvSls Ko6LYt15MmaKXGzsLpXleHQE9391B3kVamWO7pzKKW3K79M3fLuvZp6NWyYKViZ3br0WsroLmcHI lPIKMFw2co1lj5kTWm6UCL3eIOZTWaJCtxH7yWLBrFx0GwveGXUuMYZom7W6XGPZMAJl.vgpLEpa zdhgmRcRvIsJuLoi6yKRwc62vdsJgvJEJu2.NvybfLEXllq5iezyQNYAXJVew6Wud__D59KRIPUr z2fF3ntD_L6CdOlgn3yDFfSYgSUdWCd3gSDIifrlPLY72tojn5yKkleN0rCeoUcCvKL3fI6JErgA 7qAvxDqcuT9HtREMplYj1uRNxej2jSgGz2NRLe7C2v8aAHmzOlh7.e.afuna8QU9T3Z2hiicPK7x v3OA7SUBXV71ysDnoMLMsrLycD_WeezneyBGFCUtq33kTL4WKcAYIv2eHqqeQtLb1.2XNYRtzoQM jCWRSrLxc0m_OWrBOsnai9aTrl6x3pK6HJraAhw_0CWflO5EnDZxw64JsoO3A00aSBMFhy94i5M3 nCvT2U217s0mXtCnMIsr6OiX0gFvwcvPgeJN1_WtBmNtnCl7eCqJu9TbdKTjCLbRdW3DGeZDlU_3 G9u_Z8oYXa6YgMiChWbUGP1M.IrpCOUpICayDRBMnzOfYDY1nxdI.yJ9_ctCVhE9m6yVPxXHrRcN um9MK9xGsfG3ZT6sS3_Bdyu21nRRLoUTXiX5DBqczNXCzakA4Koo6h7OffWPbUBjSZulgijSVXqy VPZEVSM9_Ii3tcYldBKKGe3Z8DT_SY3YtQW40Xc95WejaRKf.cheiyChw7Amdyt1S6XXP7VfHF6a aAN46ixpzMEYRDMHsAO.LXwUGvYaY1h9QhYNyFSq6stWEDUv_UC6vuodWu7lC5XOwGQ-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.gq1.yahoo.com with HTTP; Thu, 11 Jun 2020 22:04:16 +0000 Received: by smtp425.mail.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 172ccf42c5eb921977547f6477b474b1; Thu, 11 Jun 2020 22:04:12 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: svn commit: r360233 - in head: contrib/jemalloc . . . : This partially breaks a 2-socket 32-bit powerpc (old PowerMac G4) based on head -r360311 From: Mark Millard In-Reply-To: <8bf74674-4ccf-4f97-bbc5-fa5131209b66@www.fastmail.com> Date: Thu, 11 Jun 2020 15:04:11 -0700 Cc: Justin Hibbits , Eric van Gyzen , svn-src-head@freebsd.org, FreeBSD Current , FreeBSD Hackers , FreeBSD PowerPC ML Content-Transfer-Encoding: quoted-printable Message-Id: <1C6209E6-E980-407B-B635-B76C5F192E8C@yahoo.com> References: <8479DD58-44F6-446A-9CA5-D01F0F7C1B38@yahoo.com> <17ACDA02-D7EF-4F26-874A-BB3E935CD072@yahoo.com> <695E6836-F860-4557-B7DE-CC1EDB347F18@yahoo.com> <121B9B09-141B-4DC3-918B-1E7CFB99E779@yahoo.com> <8AAB0462-3FA8-490C-8D8D-7C15B1C9E2DE@yahoo.com> <18E62746-80DB-4195-977D-4FF32D0129EE@yahoo.com> <9562EEE4-62EF-4164-91C0-948CC0432984@yahoo.com> <9B68839B-AEC8-43EE-B3B6-B696A4A57DAE@yahoo.com> <359C9C7D-4106-42B5-AAB5-08EF995B8100@yahoo.com> <20200513105632.06db9e21@titan.knownspace> <20200611155545.55526f7c@ralga.knownspace> <5542B85D-1C3A-41D8-98CE-3C02E990C3EB@yahoo.com> <8bf74674-4ccf-4f97-bbc5-fa5131209b66@www.fastmail.com> To: Brandon Bergren X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 49jdDf0svBz4TfW X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.15 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCPT_COUNT_SEVEN(0.00)[7]; NEURAL_HAM_SHORT(-0.65)[-0.654]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.004]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.992]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.68.148:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.68.148:from]; FREEMAIL_CC(0.00)[gmail.com,FreeBSD.org,freebsd.org]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2020 22:04:19 -0000 On 2020-Jun-11, at 14:41, Brandon Bergren = wrote: > An update from my end: I now have the ability to test dual processor = G4 as well, now that mine is up and running. Cool. FYI: Dual processors are not required for the problem to happen: the stress based testing showed the problem just as easily on the single-socket/single-core contexts that I tried. > On Thu, Jun 11, 2020, at 4:36 PM, Mark Millard wrote: >>=20 >> How did you test? >>=20 >> In my context it was far easier to see the problem >> with builds that did not use MALLOC_PRODUCTION. In >> other words: jemalloc having its asserts tested. >>=20 >> The easiest way I found to get the asserts to fail >> was to do (multiple processes (-m) and totaling to >> more than enough to force paging/swapping): >>=20 >> stress -m 2 --vm-bytes 1700M & >>=20 >> (Possibly setting up some shells first >> to potentially later exit.) >>=20 >> Normally stress itself would hit jemalloc >> asserts. Apparently the asserts did not >> stop the code and it ran until a failure >> occurred (via dtv=3D0x0). I never had to >> manually stop the stress processes. >>=20 >> If no failures during, then exit shells >> that likely were swapped out or partially >> paged out during the stress run. They >> hit jemalloc asserts during their cleanup >> activity in my testing. >>=20 >>=20 >>> That said, the attached patch effectively copies >>> what's done in OEA6464 into OEA pmap. Can you test it? >>=20 >> I'll try it once I get a chance, probably later >> today. >>=20 >> I gather from what I see that moea64_protect did not >> need the changes that you originally thought might >> be required? I only see moea_protect changes in the >> patch. >=20 =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)