From owner-svn-src-head@freebsd.org Mon May 4 17:16:31 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 5F02D2D5186; Mon, 4 May 2020 17:16:31 +0000 (UTC) (envelope-from brooks@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49G8f71vVZz4STM; Mon, 4 May 2020 17:16:31 +0000 (UTC) (envelope-from brooks@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 37D2427A03; Mon, 4 May 2020 17:16:31 +0000 (UTC) (envelope-from brooks@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 044HGVO4030767; Mon, 4 May 2020 17:16:31 GMT (envelope-from brooks@FreeBSD.org) Received: (from brooks@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 044HGU5p030765; Mon, 4 May 2020 17:16:30 GMT (envelope-from brooks@FreeBSD.org) Message-Id: <202005041716.044HGU5p030765@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: brooks set sender to brooks@FreeBSD.org using -f From: Brooks Davis Date: Mon, 4 May 2020 17:16:30 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r360635 - in head/contrib/jemalloc: . include/jemalloc X-SVN-Group: head X-SVN-Commit-Author: brooks X-SVN-Commit-Paths: in head/contrib/jemalloc: . include/jemalloc X-SVN-Commit-Revision: 360635 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.29 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: Mon, 04 May 2020 17:16:31 -0000 Author: brooks Date: Mon May 4 17:16:30 2020 New Revision: 360635 URL: https://svnweb.freebsd.org/changeset/base/360635 Log: Set LG_VADDR to 48 on RISC-V. The Sv48 PTE format is the largest currently defined address space for RISC-V. It makes no sense to define a larger size and doing so (at least for 64-bits) forces rtrees down a slow path. Reviewed by: vangyzen, jhb, mhorne Obtained from: CheriBSD Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D24658 Modified: head/contrib/jemalloc/FREEBSD-diffs head/contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h Modified: head/contrib/jemalloc/FREEBSD-diffs ============================================================================== --- head/contrib/jemalloc/FREEBSD-diffs Mon May 4 16:50:01 2020 (r360634) +++ head/contrib/jemalloc/FREEBSD-diffs Mon May 4 17:16:30 2020 (r360635) @@ -233,7 +233,7 @@ index 00000000..b752b0e7 +# define LG_SIZEOF_PTR 2 +#endif +#ifdef __riscv -+# define LG_VADDR 64 ++# define LG_VADDR 48 +# define LG_SIZEOF_PTR 3 +#endif + Modified: head/contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h ============================================================================== --- head/contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h Mon May 4 16:50:01 2020 (r360634) +++ head/contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h Mon May 4 17:16:30 2020 (r360635) @@ -68,7 +68,7 @@ # define LG_SIZEOF_PTR 2 #endif #ifdef __riscv -# define LG_VADDR 64 +# define LG_VADDR 48 # define LG_SIZEOF_PTR 3 #endif