Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jan 2021 04:00:30 GMT
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: d569ea6a4518 - stable/12 - Bump up the low range of cpuset numbers to account for the kernel cpuset.
Message-ID:  <202101240400.10O40UQ5089257@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by kevans:

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

commit d569ea6a4518f552817f3b59ffc66e1277d89921
Author:     Stephen J. Kiernan <stevek@FreeBSD.org>
AuthorDate: 2019-09-05 17:48:39 +0000
Commit:     Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2021-01-24 04:00:02 +0000

    Bump up the low range of cpuset numbers to account for the kernel cpuset.
    
    Obtained from:  Juniper Networks, Inc.
    
    (cherry picked from commit d57cd5ccd38299ae9834c4f913c4b5cbe53dee1e)
---
 sys/kern/kern_cpuset.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/kern/kern_cpuset.c b/sys/kern/kern_cpuset.c
index 288349633614..9206ac3b5235 100644
--- a/sys/kern/kern_cpuset.c
+++ b/sys/kern/kern_cpuset.c
@@ -1628,7 +1628,7 @@ cpuset_thread0(void)
 	/*
 	 * Initialize the unit allocator. 0 and 1 are allocated above.
 	 */
-	cpuset_unr = new_unrhdr(2, INT_MAX, NULL);
+	cpuset_unr = new_unrhdr(3, INT_MAX, NULL);
 
 	/*
 	 * If MD code has not initialized per-domain cpusets, place all



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