From nobody Sun Nov 23 09:57:11 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dDks13Brgz6Gdwf for ; Sun, 23 Nov 2025 09:57:25 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4dDks05x0fz3JPD; Sun, 23 Nov 2025 09:57:24 +0000 (UTC) (envelope-from kostikbel@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: from tom.home (kib@localhost [127.0.0.1] (may be forged)) by kib.kiev.ua (8.18.1/8.18.1) with ESMTP id 5AN9vBDJ062451; Sun, 23 Nov 2025 11:57:14 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 5AN9vBDJ062451 Received: (from kostik@localhost) by tom.home (8.18.1/8.18.1/Submit) id 5AN9vBOj062450; Sun, 23 Nov 2025 11:57:11 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sun, 23 Nov 2025 11:57:11 +0200 From: Konstantin Belousov To: Michal Meloun Cc: FreeBSD Current Subject: Re: mmap( MAP_ANON) is broken on current. (was Still seeing Failed assertion: "p[i] == 0" on armv7 buildworld) Message-ID: References: <603e75f8-7064-4fca-8520-282331c20ec0@freebsd.org> <9a864c53-0033-46d1-ad07-6b528115789f@freebsd.org> <9ef6253b-0f3a-4178-bfb2-65cc847ce652@freebsd.org> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9ef6253b-0f3a-4178-bfb2-65cc847ce652@freebsd.org> X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4dDks05x0fz3JPD On Sat, Nov 22, 2025 at 11:07:41PM +0100, Michal Meloun wrote: > uff, we have winner. > All check passed. Thank you for the instrumental help. Patches are put for review at https://reviews.freebsd.org/D53891 . The problems are machine-independent, it is just that 32bit with more limited address space and disabled ASLR triggered coalescing more often (does not matter native 32bit kernel or 32bit userspace on native 64bit host). I do think that this deserves EN, but first it needs to be reviewed and merged to stable branches. I checked that the problems exist on stable/14 for sure, I did not looked at stable/13.