sched: When disabling SMT, turn off the odd cores
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 13 Dec 2017 18:02:28 +0000 (13:02 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 13 Dec 2017 20:22:08 +0000 (15:22 -0500)
commit968bc9b3ae8e948b81878e5f5f2b40ad0a2aaaa3
tree971b6a13a78778f2e146d1be48d8cd2bb1febf32
parentc415559200ab08d510eb27367122b152ac126068
sched: When disabling SMT, turn off the odd cores

Previously, we were turning off the even cores, but that gave out core 1,
which was hyperthreaded with core 0.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/src/corealloc_fcfs.c
kern/src/corealloc_packed.c