From nobody Fri Dec 13 23:04:31 2024 X-Original-To: dev-commits-src-all@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 4Y94fS1Jwbz5gH1d; Fri, 13 Dec 2024 23:04:32 +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 4Y94fR3FFFz4mrw; Fri, 13 Dec 2024 23:04:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734131071; 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=ntuG8uxFqxRAmYH7SER/HI/20SbBZD24aLKitIrukT4=; b=Suh5duBHiy8X7lExtCtwnF3qtk5QrKbYzWHt7WB/xfqaVC9LppI8RfNtpBajRVpAzomvMr py1cKlt9vSpNM4ph7a2HMfHYCdu5vP6g0e842n4bCcFNaINxQcGLTYj8wOnyNn1i9iug8V SjeMVVFBGPjVQX6DoufpbWadul+spHFOFN9JKJbTrcxvx30/9dWzLwarJPuijRFoF4efvl Zy+9bTHozsPnI/CRjcveBB5xBOWZaPujzNnWylRusWk1nA6Uc7gA8F4C4muBYhx9jP1MLl vt5l3v3QAuOgektcdBgqTJjfHBrluqYMGL03qRyuyORu5Ah9nIRviQuDEXcZ3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734131071; 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=ntuG8uxFqxRAmYH7SER/HI/20SbBZD24aLKitIrukT4=; b=ZPrpXTLNwval3kG0ffUEzudHd9aUxZMti74S0bO3hiiYAsN3kJVYeLfs+3/Mw+aswY8OoF L5MHIk1G4bypF6LKK8gaH40Q8kfvVdBeeWApHnkpYZ3tZ+SHiLYz+4McWFFhUxW839Itcr kVh7lOpdJeGhtDW78X67b3o2wFoPaeZdnn5Lm4RvZkxeUdBlc3KqgYVJipAh98nia6ogN8 VbJuCyRHl+TTB4eKSlVTEkEyxQTUIszac97yjaj0aBDm7dYeB67QRp+REv1RQhS4raGtC0 7lG+xUGFylt/CM5KWiqrzIUYcyBW/ebFqWjvuDwBkePoO3aOjpU9fkzwOLsmVQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734131071; a=rsa-sha256; cv=none; b=VTt7t1oVVvpPjy6zt+cQvMLEHSFiVsv7Iy7eDWIWM1q+HKQS49nirY1I2tGdA8H6frWHx7 vGJPu8hZVrWLbey4icDtIXFkb2NrH0tjDH5eSbYNxNyKJxPf8+26TdtbT/S2wyo0mFoOy/ BcB5kMwNlQlVKAwooElqTi6kLhoSOcFPPU2mCfhTTLH54G8h9pmg9ltUxkmB4MLvUyl1R0 s5+DKC7cUGIin+JCfOgbDq+tn+sL/dR/h8hXQLplD77YTiMK/cMm810L2/4e+pUyPVcfn2 u/W28dpogIbiFUgEoZypb/4VqOMIuZbOwXF1q2PHpdrNoK66RAnia1KnnRwUtg== 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 4Y94fR2fWFzx4h; Fri, 13 Dec 2024 23:04: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 4BDN4Vme029316; Fri, 13 Dec 2024 23:04:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BDN4Vx5029313; Fri, 13 Dec 2024 23:04:31 GMT (envelope-from git) Date: Fri, 13 Dec 2024 23:04:31 GMT Message-Id: <202412132304.4BDN4Vx5029313@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: 59e013a52c22 - main - jemalloc: Retire SWAP_RESERVE_* compat shims List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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: 59e013a52c22624be0f4b0f9bfe0918bc6f50b93 Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=59e013a52c22624be0f4b0f9bfe0918bc6f50b93 commit 59e013a52c22624be0f4b0f9bfe0918bc6f50b93 Author: Warner Losh AuthorDate: 2024-12-13 22:49:42 +0000 Commit: Warner Losh CommitDate: 2024-12-13 23:04:40 +0000 jemalloc: Retire SWAP_RESERVE_* compat shims We no longer need these compat shims. They were needed for FreeBSD 12 and earlier. Sponsored by: Netflix --- contrib/jemalloc/src/pages.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/contrib/jemalloc/src/pages.c b/contrib/jemalloc/src/pages.c index 5df9ccdfe5df..1050c3925153 100644 --- a/contrib/jemalloc/src/pages.c +++ b/contrib/jemalloc/src/pages.c @@ -461,10 +461,6 @@ os_overcommits_sysctl(void) { } #endif -#ifndef SWAP_RESERVE_FORCE_ON -#define SWAP_RESERVE_FORCE_ON (1 << 0) -#define SWAP_RESERVE_RLIMIT_ON (1 << 1) -#endif return ((vm_overcommit & (SWAP_RESERVE_FORCE_ON | SWAP_RESERVE_RLIMIT_ON)) == 0); }