summaryrefslogtreecommitdiffstats
path: root/tools/tools/nxge
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2012-08-30 21:22:47 +0000
committerattilio <attilio@FreeBSD.org>2012-08-30 21:22:47 +0000
commitec1be6b9d0937e659de30fed1f58b7ae8c8835e7 (patch)
tree24953b4f84c8662937a81c8de85c1958e947a4c2 /tools/tools/nxge
parent37d20a17c00900e79a4f93e9ab22cf6aad6ab469 (diff)
downloadFreeBSD-src-ec1be6b9d0937e659de30fed1f58b7ae8c8835e7.zip
FreeBSD-src-ec1be6b9d0937e659de30fed1f58b7ae8c8835e7.tar.gz
Post r222812 KTR_CPUMASK started being initialized only as a tunable
handler and not more statically. Unfortunately, it seems that this is not ideal for new platform bringup and boot low level development (which needs ktr_cpumask to be effective before tunables can be setup). Because of this, add a way to statically initialize cpusets, by passing an list of initializers, divided by commas. Also, provide a way to enforce an all-set mask, for above mentioned initializers. This imposes some differences on how KTR_CPUMASK is setup now as a kernel option, and in particular this makes the words specifications backward wrt. what is currently in -CURRENT. In order to avoid mismatches between KTR_CPUMASK definition and other way to setup the mask (tunable, sysctl) and to print it, change the ordering how cpusetobj_print() and cpusetobj_scan() acquire the words belonging to the set. Please give a look to sys/conf/NOTES in order to understand how the new format is supposed to work. Also, ktr manpages will be updated shortly by gjb which volountereed for this. This patch won't be merged because it changes a POLA (at least from the theoretical standpoint) and this is however a patch that proves to be effective only in development environments. Requested by: rpaulo Reviewed by: jeff, rpaulo
Diffstat (limited to 'tools/tools/nxge')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud