The branch main has been updated by imp:

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

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

Reply via email to