]> Zhao Yanbai Git Server - minix.git/commit
SMP - Changed prototype of sys_schedule()
authorTomas Hruby <tom@minix3.org>
Wed, 15 Sep 2010 14:10:42 +0000 (14:10 +0000)
committerTomas Hruby <tom@minix3.org>
Wed, 15 Sep 2010 14:10:42 +0000 (14:10 +0000)
commit06b6e5624a9e702a53767285a311b17e6fda8ce2
tree25596c142fea8ccd2412531ebeebf4b76079b564
parentc554aef0e1cc5a391a38cf790dfce205dd0d3e33
SMP - Changed prototype of sys_schedule()

- sys_schedule can change only selected values, -1 means that the
  current value should be kept unchanged. For instance we mostly want
  to change the scheduling quantum and priority but we want to keep
  the process at the current cpu

- RS can hand off its processes to scheduler

- service can read the destination cpu from system.conf

- RS can pass the information farther
19 files changed:
include/minix/com.h
include/minix/rs.h
include/minix/sched.h
include/minix/syslib.h
kernel/proto.h
kernel/system.c
kernel/system/do_schedctl.c
kernel/system/do_schedule.c
lib/libsys/sched_start.c
lib/libsys/sys_schedctl.c
lib/libsys/sys_schedule.c
servers/pm/schedule.c
servers/rs/glo.h
servers/rs/main.c
servers/rs/manager.c
servers/rs/request.c
servers/rs/type.h
servers/rs/utility.c
servers/sched/schedule.c