From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from atuin.qyliss.net (localhost [IPv6:::1]) by atuin.qyliss.net (Postfix) with ESMTP id 8794CB624; Fri, 31 Jul 2026 14:04:51 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 993) id E6002B61E; Fri, 31 Jul 2026 14:04:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on atuin.qyliss.net X-Spam-Level: X-Spam-Status: No, score=-0.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DMARC_MISSING,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=4.0.1 Received: from fhigh-a4-smtp.messagingengine.com (fhigh-a4-smtp.messagingengine.com [103.168.172.155]) by atuin.qyliss.net (Postfix) with ESMTPS id 02170B61B for ; Fri, 31 Jul 2026 14:04:46 +0000 (UTC) Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfhigh.phl.internal (Postfix) with ESMTP id 9949314000F9; Fri, 31 Jul 2026 10:04:44 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-05.internal (MEProxy); Fri, 31 Jul 2026 10:04:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alyssa.is; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1785506684; x=1785593084; bh=YrScuoXAwy 47l+R+3D28I9MWOkk6J7rXG4dk6nzUNbw=; b=axbwhK7frYWDKWTWIPKkvHovsu PFCBSCHz8u44cQVcE549AiIZsTOfYHX9o1etqLuNiNi6uhGcSYdA+sc6a4TFplnm giJS2E4oqtbjVQyS3gohExjVC8DmXT2Jp2u/Aj8mTzPlBWIBi2B6mI+o8m/4H9Ml C2/8GlSf/xVizofuG0Pwmsjmg/zANutfQkaxKfVoSabzHmf8ZPsCvPe8NpeMxOpY FFhS6GiiFsxEhBVh7MevWdq4dX6TRQSXVf2NpdZ4OKLNObM35vWh4t0jUID48eRc bDD7r2zDzw6hukXD1RYYkrXsnUDEkCHkQ+8nWVdL+9RrkmKyWKqlNAGgfe0w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1785506684; x=1785593084; bh=YrScuoXAwy47l+R+3D28I9MWOkk6J7rXG4d k6nzUNbw=; b=Vu+Wufxha68/qwYzgT90HQHV4rTOnyU/cnB8w4YYtM5E6Iyw8LD 8LVsovqsksGjWdBqQkrewItIEB2x2oueIsSX08R+nzwFWYwRW0GiKLOfT9syAcJo D5+r0gU1tP+gFkE6DJXmNK+cokEzK5/Sl6FYE0FbqHmLTciC7ACz7A7jfCdVLaf+ y55OwGwom3c2AqcVCaJQPrO7+NVhoOC8EOfseuolEfmclDxLgHRGT+QuudRn3vZv tzypS/jQfCrt8W+fweLZGzGN7egtOD1TIJim3PuTBMPZcvle8Ez610Pl3SG4/r44 ZkDHblJVkemj3RxjJqSxos41a1eB2pKp/Tg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: dmFkZTF83GeJivqo4+Sbl7ftqf+EQJuEL8wDnJZeMkbgRR7c7+ouSvUcnOMZgiumtN1Jqp 9gWFLJOjFFJHt1wHxOVbwy/hPzUDBCx8SRJnBNepyoVhch6xG3mzzGLXngXHaURNeNyCDK rf9VTJrw5p05xwA5TLgPvW3VOjazMeqlivrwxStJ5UZaGpWlMd8dRNk1XUOahEdjDXW2RZ FRwrYG0+7uH27LO3JGp/ackoAuut7PP4dxGEXlD4FljGFAm2PmrZhiY9ZAhVskIO83Nt5f ZChzajT3vHUmKPH+4ywhtyLK73XVTaNOpLh4MEch+M6nmVzzcr1aGMBVod1bLsU8VxCDs8 BAA1UlTq20wZS9OIdDgufaFD4jXbsA10U7nFA8tAP4M18BExF0rTUfzKR9xVSy6i6emQzT m0XSEjoDaN1odZUKjLogdF8TXA3FyeZ3hdI020hCZ1kd51DhsLWupnE/teGjmYsVubhfUT UcPCNwUhHb50PD2HEvka6l6MtjcP9hy7NqhGDFuFu7DHm6boRSThasmKnBlZCBuAfYsP+L 6oinkcc44pto7Rcb3qX8u68t8m+bW1KVuzNo8IIiNV4mRJQEQiK72tKrt4MG42GNUSob9J +5d4qc4zmsYf/5xZ5hPjDfDFmlWduxHwV4ggIf1YqBAKRj1+V7jW2Jh3fqcQ X-ME-Proxy: Feedback-ID: i12284293:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 31 Jul 2026 10:04:43 -0400 (EDT) Received: by fw12.qyliss.net (Postfix, from userid 1000) id A9F3AC6012A0; Fri, 31 Jul 2026 16:04:42 +0200 (CEST) From: Alyssa Ross To: colbyt Subject: Re: [PATCH v3] vm: optional 16K-page guest kernel builds In-Reply-To: <20260730193541.1928150-1-colby@colbyt.com> References: <20260730192035.1900845-1-colby@colbyt.com> <20260730193541.1928150-1-colby@colbyt.com> Date: Fri, 31 Jul 2026 16:04:41 +0200 Message-ID: <877bmb2r2e.fsf@alyssa.is> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Message-ID-Hash: M65W5JZLUAO52D7B7WYWSOHTCQOCCI6S X-Message-ID-Hash: M65W5JZLUAO52D7B7WYWSOHTCQOCCI6S X-MailFrom: hi@alyssa.is X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-devel.spectrum-os.org-0; header-match-devel.spectrum-os.org-1; header-match-devel.spectrum-os.org-2; header-match-devel.spectrum-os.org-3; header-match-devel.spectrum-os.org-4; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: devel@spectrum-os.org X-Mailman-Version: 3.3.10 Precedence: list List-Id: Patches and low-level development discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable colbyt writes: > KVM hosts with a 16K stage-2 granule (Apple Silicon machines running > upstream kernels, NVIDIA GB10) can only run guests whose kernel is built > with ARM64_16K_PAGES. Add an optional kernelPageSize argument to the app > and net VM kernel builds; the default is unchanged. A 16K-page guest > Image built this way has booted to a full session under a 16K host here > since June without issues on my side. > --- > v3/v2: no code change =E2=80=94 drop a stray in-body From line that would= have > misattributed authorship when applied. > > Following up on the offer in my July 7 mail, as a standalone patch now > that the nixpkgs update brings Linux 7.1. The config delta is five > lines; the edit (an argument defaulting to today's behavior) is a > proposal =E2=80=94 happy to rework it if you'd rather structure it differ= ently, > e.g. hang it off a single shared helper instead of two arguments. My instinct is that we should just always use a 16K page kernel on aarch64 hosts. AIUI the main reason most Linux distributions don't is to retain compatibility with binaries that may assume only 4K alignment is needed, but on the Spectrum host we should never be running binaries we didn't build ourselves. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQQGoGac7QfI+H5ZtFCZddwkt31pFQUCamyreQAKCRCZddwkt31p FUNYAQCCmdyN4XX3icIxPzzOI0BACBgdjsZhr80HB4WJw6rKyQD+KS9veI+weGFv C9m+bOoT/qWLEhM9a/I3DYLxbHQ7yww= =KC0l -----END PGP SIGNATURE----- --=-=-=--