]> Zhao Yanbai Git Server - minix.git/commit
SMP - Scheduler can assign process to a cpu
authorTomas Hruby <tom@minix3.org>
Wed, 15 Sep 2010 14:10:33 +0000 (14:10 +0000)
committerTomas Hruby <tom@minix3.org>
Wed, 15 Sep 2010 14:10:33 +0000 (14:10 +0000)
commit1e273f640e6e36dfae25b92e878c5b2bbf9dd0b9
tree5514fbf62e252f686114b796e48895f8872220b8
parent9e12630d75f21f67db7d5ddf6c167e17389a8eb4
SMP - Scheduler can assign process to a cpu

- machine information contains the number of cpus and the bsp id

- a dummy SMP scheduler which keeps all system processes on BSP and
  all other process on APs. The scheduler remembers how many processes
  are assigned to each CPU and always picks the one with the least
  processes for a new process.
include/minix/type.h
kernel/main.c
servers/pm/glo.h
servers/sched/main.c
servers/sched/sched.h
servers/sched/schedproc.h
servers/sched/schedule.c