Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Sep 2019 17:48:40 +0000 (UTC)
From:      "Stephen J. Kiernan" <stevek@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r351878 - head/sys/kern
Message-ID:  <201909051748.x85HmeqS031018@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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