diff options
author | Stephen J. Kiernan <stevek@FreeBSD.org> | 2019-09-05 17:48:39 +0000 |
---|---|---|
committer | Kyle Evans <kevans@FreeBSD.org> | 2021-01-24 04:00:02 +0000 |
commit | d569ea6a4518f552817f3b59ffc66e1277d89921 (patch) | |
tree | b060c03248962c187b969081d2327e93a87f9f4f | |
parent | 5ff2a3cb9e93fe07d39973772926b86ec5ee73d5 (diff) | |
download | src-d569ea6a4518f552817f3b59ffc66e1277d89921.tar.gz src-d569ea6a4518f552817f3b59ffc66e1277d89921.zip |
Bump up the low range of cpuset numbers to account for the kernel cpuset.
Obtained from: Juniper Networks, Inc.
(cherry picked from commit d57cd5ccd38299ae9834c4f913c4b5cbe53dee1e)
-rw-r--r-- | sys/kern/kern_cpuset.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |