minix/kernel
Tomas Hruby 451a6890d6 scheduling - time quantum in miliseconds
- Currently the cpu time quantum is timer-ticks based. Thus the
  remaining quantum is decreased only if the processes is interrupted
  by a timer tick. As processes block a lot this typically does not
  happen for normal user processes. Also the quantum depends on the
  frequency of the timer.

- This change makes the quantum miliseconds based. Internally the
  miliseconds are translated into cpu cycles. Everytime userspace
  execution is interrupted by kernel the cycles just consumed by the
  current process are deducted from the remaining quantum.

- It makes the quantum system timer frequency independent.

- The boot processes quantum is loosely derived from the tick-based
  quantas and 60Hz timer and subject to future change

- the 64bit arithmetics is a little ugly, will be changes once we have
  compiler support for 64bit integers (soon)
2010-05-25 08:06:14 +00:00
..
arch/i386 scheduling - time quantum in miliseconds 2010-05-25 08:06:14 +00:00
system scheduling - time quantum in miliseconds 2010-05-25 08:06:14 +00:00
clock.c scheduling - time quantum in miliseconds 2010-05-25 08:06:14 +00:00
clock.h scheduling - time quantum in miliseconds 2010-05-25 08:06:14 +00:00
config.h Driver refactory for live update and crash recovery. 2010-04-08 13:41:35 +00:00
const.h Fixed brackets in bitmap macros 2010-03-30 08:34:33 +00:00
debug.c kernel: don't try to lookup ANY in debug output. 2010-05-06 22:39:11 +00:00
debug.h Intermediate boot verbosity level EXTRA (2), MAX moved to 3 2010-05-10 18:07:59 +00:00
glo.h scheduling - time quantum in miliseconds 2010-05-25 08:06:14 +00:00
interrupt.c kernel: print spurious interrupt message with increasing interval. 2010-05-08 17:21:37 +00:00
ipc.h Set IPC status code only for RECEIVE 2010-04-26 14:43:59 +00:00
kernel.h kernel: oxpcie serial card support. 2010-05-19 10:00:02 +00:00
main.c scheduling - time quantum in miliseconds 2010-05-25 08:06:14 +00:00
Makefile Buildsystem changes for GCC 2010-05-19 13:24:15 +00:00
priv.h kernel: increase some per-process privilege limits. 2010-05-06 22:21:08 +00:00
proc.c scheduling - time quantum in miliseconds 2010-05-25 08:06:14 +00:00
proc.h scheduling - time quantum in miliseconds 2010-05-25 08:06:14 +00:00
profile.c remove intr_disabled() as interrupts are always disabled in the kernel now. 2010-04-26 15:32:42 +00:00
profile.h cprofile not conditional 2009-01-09 21:44:52 +00:00
proto.h scheduling - time quantum in miliseconds 2010-05-25 08:06:14 +00:00
start.c kernel: oxpcie serial card support. 2010-05-19 10:00:02 +00:00
system.c rename of mode/context switching functions 2010-05-18 13:00:39 +00:00
system.h Driver refactory for live update and crash recovery. 2010-04-08 13:41:35 +00:00
table.c scheduling - time quantum in miliseconds 2010-05-25 08:06:14 +00:00
type.h scheduling - time quantum in miliseconds 2010-05-25 08:06:14 +00:00
utility.c scheduling - time quantum in miliseconds 2010-05-25 08:06:14 +00:00
vm.h intr_disabled() tests removed 2010-02-09 15:29:58 +00:00
watchdog.c Remove useless symbol declarations from headers, make symbols local where possible, add some explicit initialization to global variables. 2010-04-22 07:49:40 +00:00
watchdog.h Convert kernel over to bsdmake 2010-04-01 22:22:33 +00:00