usched_bsd4 - topology sched: go for safe defaults
authorAlex Hornung <alex@alexhornung.com>
Thu, 30 Aug 2012 08:17:12 +0000 (08:17 +0000)
committerAlex Hornung <alex@alexhornung.com>
Thu, 30 Aug 2012 08:17:12 +0000 (08:17 +0000)
commitf3025b16812bc484c7b518058fe2f5324dc310ae
treea43733281aaa46cce1605466a6d61b841f3a91d8
parentfd6005851d2b2ace1be87522962f385e84ce0a01
usched_bsd4 - topology sched: go for safe defaults

 * When we don't know how to handle the level of the current CPU, go for
   safe defaults disabling both cache-coherent and SMT scheduling.

 * This seems to be the case on single-core machines where the level is
   the PACKAGE_LEVEL.

Reported-by: Max Herrgard, Ferruccio Zamuner, David Shao
Dragonfly-bug: http://bugs.dragonflybsd.org/issue2408
Dragonfly-bug: http://bugs.dragonflybsd.org/issue2413
sys/kern/usched_bsd4.c