Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Dec 2024 23:04:31 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 59e013a52c22 - main - jemalloc: Retire SWAP_RESERVE_* compat shims
Message-ID:  <202412132304.4BDN4Vx5029313@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=59e013a52c22624be0f4b0f9bfe0918bc6f50b93

commit 59e013a52c22624be0f4b0f9bfe0918bc6f50b93
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2024-12-13 22:49:42 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
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);
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412132304.4BDN4Vx5029313>