git: d569ea6a4518 - stable/12 - Bump up the low range of cpuset numbers to account for the kernel cpuset.
Kyle Evans
kevans at FreeBSD.org
Sun Jan 24 04:00:31 UTC 2021
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 at FreeBSD.org>
AuthorDate: 2019-09-05 17:48:39 +0000
Commit: Kyle Evans <kevans at 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
More information about the dev-commits-src-all
mailing list