From nobody Mon Dec 09 04:23:31 2024 X-Original-To: dev-commits-src-main@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 4Y67yq35yBz5gBwt; Mon, 09 Dec 2024 04:23:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y67yq2SWJz4DJ5; Mon, 9 Dec 2024 04:23:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733718211; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=doGdRLh+1Qx9UnEv7DVzGWfLokVHHWfRnqB47qrZ0tA=; b=Vc21VZnce5oWG2Tvt8DlOUv8wSb9XBfTB8Vm806LvvHlqgy+IwaNfslXY6JEbxR6uGjiYm QGCmXefTlLIGI8eZeYfChJzoB7TE4ZXjm6VqVeAHq2r13AHEJVWnwGaDAwUvkw5UfCFM7T NIw7H1znapVtL9zqVTkEkY3D5cAQ+s5m1Yidpbpd70c3psNjW4EewcZRzuNPeBKk2qb+6+ 4gJV9n6XNVPn/SUB/+hWZoSeNBHC2TniAGL2Rht9h2rF+nUm8tXQM3vL6oGOH4BRrSAs0p 0VGtSOz/vklOMjPZ1u/GhU5xssNJw3ktfE60Iyh5HRXNLg/9ENFqAA6nyPd0eA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733718211; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=doGdRLh+1Qx9UnEv7DVzGWfLokVHHWfRnqB47qrZ0tA=; b=ZgmlGyZ+DwsLSyYvkBVN81Gi5CC7Rr3iPC1BeIz0J7sjCECk2Qjg5njzscMCwFf9MeFzT3 sohIgD3x97J/tio0JwmmX7eIMOfbUcUTd7VY1SFv6pMhISJPQNjYvX6qsOp8AA2XGNcr82 KrQ21UFPLSoGNFUmtUstlj5NSPttyHvJdCXPWBp7y2WIJ5ngt1OWsDfiemJNsr853mIm3l Iu9MtRfRkKuv7lSGAa4flXSBKBOjDNrLXk/ErIN5BgXKSxX9NoSpIGrwByGEkMx2q39B9l DudvUpDs/8D8lgupMAAz9gum3GraM2Sgyi0grpI2abhmYJalrwaPTS8/GQL2fw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733718211; a=rsa-sha256; cv=none; b=wWZOIlfbd5V1k0WTL3tNy1hi9DwgudzEGy3X4/nwt4l5Yvkc+QnG++4SFtZ15orgCk6ABo Sf7fTo7PHmvyjdS8HkSXw50gt1/grenPADFkxgMLlVmeItUHbOOGKJOlqshkZWfDcURpID a0SVQ9SOChwLjHYYkJUVGdnD0ddQg0j6SU7hTs/UAfG48VapxU3BQ3arcz8FLhLz+9YKdK SHBIhJSYNmYLszf1ETOwluw0gXd0OM5BWIVNgh11fszJXwQEBO5pl9mX439nWuyVNSCfHs yw3anEtq9sNiPBf51txCauEm/aVMSwWZXYSeewGE8cJiBoHt0YzHUUg/IHaDVw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Y67yq23rwzMQ2; Mon, 9 Dec 2024 04:23:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4B94NVr1094640; Mon, 9 Dec 2024 04:23:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4B94NV1V094637; Mon, 9 Dec 2024 04:23:31 GMT (envelope-from git) Date: Mon, 9 Dec 2024 04:23:31 GMT Message-Id: <202412090423.4B94NV1V094637@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 9114e15a8694 - main - amd64: re-enable la57, try two List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9114e15a86949f7d168bf09dbe78a340d5444e80 Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=9114e15a86949f7d168bf09dbe78a340d5444e80 commit 9114e15a86949f7d168bf09dbe78a340d5444e80 Author: Konstantin Belousov AuthorDate: 2024-12-09 03:40:33 +0000 Commit: Konstantin Belousov CommitDate: 2024-12-09 04:06:24 +0000 amd64: re-enable la57, try two If you need to use libc with jemalloc without commit eade2001aa9d91440886de8359a4dec9edcde2a9 (head, or b90d68c9b28b0a458bdf4a963397817974ed0f90 stable/14), you have to set vm.pmap.la57 to 0 for system-global effect, or use proccontrol -m la48 on affected image. Sponsored by: The FreeBSD Foundation --- sys/amd64/amd64/pmap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c index 82110e61d54a..265d48e26c0b 100644 --- a/sys/amd64/amd64/pmap.c +++ b/sys/amd64/amd64/pmap.c @@ -2182,6 +2182,7 @@ pmap_bootstrap_la57(void *arg __unused) if ((cpu_stdext_feature2 & CPUID_STDEXT2_LA57) == 0) return; + la57 = 1; TUNABLE_INT_FETCH("vm.pmap.la57", &la57); if (!la57) return;