From nobody Fri Dec 13 23:04:30 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 4Y94fQ55fZz5gH3d; Fri, 13 Dec 2024 23:04:30 +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 4Y94fQ2K1Bz4mW5; Fri, 13 Dec 2024 23:04:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734131070; 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=/iOGDFFrgiEFvE/sxF48h+Jo8ssIv79DNMwOUBJ2DU8=; b=ISedPU+0cHTOSeTY7lwVQ1qPCb0PaxRyx99wQTF8Rf0dHHfCPEAvgtRGN+09lRu7TiZlqn 8EzZhUtXgjP6BhGii6AgwncZasFv0oL+SfM59jkBquYmShRa5U3KwquH2lQLWv7gIZVxyB j1bjb+XB+a0EB7hhpdcH5+eoPG+adWC+oVbBui2D+VnoTHqUMG5dTCDGvpMTd2/3lnyfbV qOEzc+/dTYEB5AhzpGXjjrwrEvlGZsNQ2sJ2auDL4mV3peJaBAaByiILNwp8WWq6JW9iW2 rNbO2wxNt36UmgPtTnSrldwsBbeV1YaoBwCphExaPc2hfO8ndliuzgnUutX/qQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734131070; 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=/iOGDFFrgiEFvE/sxF48h+Jo8ssIv79DNMwOUBJ2DU8=; b=KdTtMC4tHQc8dN2xymCH03wbjVCV8NlpJxAmLe1OqgDSPD3OP4yTgOUw8xsWreG7IYQ4FE +VLlVv3R98C4Ub5rpEah7YM7oGAYDzRDRkpw+kijPFpD74lhMld/voVMZqovcW8r2GRpVt dw5ajmqY9fuCc+IiOzVLT4JstfN3SBtranndmQVOmChXtSm7qt22g3CEbjkNKieZsR657w mUmVFi9eOQVptHatwLAtD47RAbeYSt2QyOXNHPBIU7jACg38YNjzQz3Kr7m/AwyeZuWTe7 Is3/wV8rd6D9/kZOIc1KYkE4RkRQK1R3o3GE239IwrXlQkV0a+myEr2Bdn/lcA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734131070; a=rsa-sha256; cv=none; b=jNMQbmWJEW1BR/SpKgK3gJ0GNLjxmssSwC1AXBRLOgWIjgcyTNfvGwUMKPYkzwLBxVxSXR LYkW1iI1zQb7W9SGucwgD0TmdNlvmAT7YrGyNRMCBjB1CDQierZYcXN6rTqVNzu+ECQBw3 mFCElKqalEN6oG4s98ca4ZYQaKHBzo9pb3f9cHZ6/OlN1bP+eYH55xM9pKi3RkomW391NL QeKBHm6k3kJ0P2oFN+GYicHPmFmtl1AUPCC9Lrs2OkdPsrNlpVCtGZ8I5GD0SKhJ/JrkbA 6Z0AtkmPOs589TWGl3O9nYHJ7NwGxiph0qPmcq53/KgtWXS5Y/lwaSZTrEk+jg== 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 4Y94fQ1vgxzxLv; Fri, 13 Dec 2024 23:04:30 +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 4BDN4UuQ029274; Fri, 13 Dec 2024 23:04:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BDN4UWP029271; Fri, 13 Dec 2024 23:04:30 GMT (envelope-from git) Date: Fri, 13 Dec 2024 23:04:30 GMT Message-Id: <202412132304.4BDN4UWP029271@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: db589b5de608 - main - jemalloc: Retire ifdef for ELF_BSDF_VMNOOVERCOMMIT 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: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: db589b5de60806aa5e775ed075cb76a09ccdb95f Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=db589b5de60806aa5e775ed075cb76a09ccdb95f commit db589b5de60806aa5e775ed075cb76a09ccdb95f Author: Warner Losh AuthorDate: 2024-12-13 22:47:47 +0000 Commit: Warner Losh CommitDate: 2024-12-13 23:04:40 +0000 jemalloc: Retire ifdef for ELF_BSDF_VMNOOVERCOMMIT ELF_BSDF_VMNOOVERCOMMIT was introduced in time for stable/13 (but not stable/12), so is now in all supported branches. We're highly unlikely to merge future versions to stable/13 let alone anything earlier. Sponsored by: Netflix --- contrib/jemalloc/src/pages.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/contrib/jemalloc/src/pages.c b/contrib/jemalloc/src/pages.c index 6405bb528984..5df9ccdfe5df 100644 --- a/contrib/jemalloc/src/pages.c +++ b/contrib/jemalloc/src/pages.c @@ -441,13 +441,10 @@ static bool os_overcommits_sysctl(void) { int vm_overcommit; size_t sz; - -#ifdef ELF_BSDF_VMNOOVERCOMMIT int bsdflags; if (_elf_aux_info(AT_BSDFLAGS, &bsdflags, sizeof(bsdflags)) == 0) return ((bsdflags & ELF_BSDF_VMNOOVERCOMMIT) == 0); -#endif sz = sizeof(vm_overcommit); #if defined(__FreeBSD__) && defined(VM_OVERCOMMIT)