svn commit: r351878 - head/sys/kern

Stephen J. Kiernan stevek at FreeBSD.org
Thu Sep 5 17:48:40 UTC 2019


Author: stevek
Date: Thu Sep  5 17:48:39 2019
New Revision: 351878
URL: https://svnweb.freebsd.org/changeset/base/351878

Log:
  Bump up the low range of cpuset numbers to account for the kernel cpuset.
  
  Reviewed by:	jeff
  Obtained from:	Juniper Networks, Inc.

Modified:
  head/sys/kern/kern_cpuset.c

Modified: head/sys/kern/kern_cpuset.c
==============================================================================
--- head/sys/kern/kern_cpuset.c	Thu Sep  5 17:20:48 2019	(r351877)
+++ head/sys/kern/kern_cpuset.c	Thu Sep  5 17:48:39 2019	(r351878)
@@ -1507,7 +1507,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 svn-src-head mailing list