minix/kernel
Tomas Hruby 9b599bac1d Quantum in fork
- This patch removes the time slice split between parent and child in
  fork.

- The time slice of the parent remains unchanged and the child does
  not have any.

- If the process has a scheduler, the scheduler must assign the
  quantum and priority of the new process and let it run.

- If the child does not inherit a scheduler, it is scheduled by the
  dummy default kernel policy. (servers, drivers, etc.)

- In theory, the scheduler can change the quantum even of the parent
  process and implement any policy for splitting the quantum as
  neither the parent nor the child are runnable.  Sending the
  out-of_quantum message on behalf of the processes may look like the
  right solution, however, the scheduler would probably handle the
  message before the whole fork protocol is finished. This way the
  scheduler has absolute control when the process should become
  runnable.
2010-04-10 15:27:38 +00:00
..
arch/i386 This tiny cleanup makes the naming a variables in createpde() more clear. 2010-04-10 15:22:41 +00:00
system Quantum in fork 2010-04-10 15:27:38 +00:00
clock.c Userspace scheduling 2010-03-29 11:07:20 +00:00
clock.h Convert kernel over to bsdmake 2010-04-01 22:22:33 +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 Userspace scheduling 2010-03-29 11:07:20 +00:00
debug.h NOREC_ENTER and NOREC_RETURN checks removed 2010-03-29 11:43:10 +00:00
glo.h Move archtypes.h, fpu.h, and stackframe.h 2010-03-09 09:41:14 +00:00
interrupt.c Convert kernel over to bsdmake 2010-04-01 22:22:33 +00:00
ipc.h Userspace scheduling 2010-03-29 11:07:20 +00:00
kernel.h Time accounting based on TSC 2010-02-10 15:36:54 +00:00
main.c More use of endpoint_t. Other code cleanup. 2010-03-30 14:07:15 +00:00
Makefile Convert kernel over to bsdmake 2010-04-01 22:22:33 +00:00
priv.h New RS and new signal handling for system processes. 2010-03-17 01:15:29 +00:00
proc.c A simpler test whether to use kernel's default scheduling 2010-04-10 15:19:25 +00:00
proc.h A simpler test whether to use kernel's default scheduling 2010-04-10 15:19:25 +00:00
profile.c Lots of const correctness. 2010-03-27 14:31:00 +00:00
profile.h cprofile not conditional 2009-01-09 21:44:52 +00:00
proto.h Driver refactory for live update and crash recovery. 2010-04-08 13:41:35 +00:00
start.c Lots of const correctness. 2010-03-27 14:31:00 +00:00
system.c Driver refactory for live update and crash recovery. 2010-04-08 13:41:35 +00:00
system.h Driver refactory for live update and crash recovery. 2010-04-08 13:41:35 +00:00
table.c Prioritized NOTIFY messages for reliable asynchonrous delivery of system events. 2010-03-22 23:44:55 +00:00
type.h Miscellaneous code cleanup. 2010-03-22 20:43:06 +00:00
utility.c panic() cleanup. 2010-03-05 15:05:11 +00:00
vm.h intr_disabled() tests removed 2010-02-09 15:29:58 +00:00
watchdog.c no more kprintf - kernel uses libsys printf now, only kputc is special 2010-03-03 15:45:01 +00:00
watchdog.h Convert kernel over to bsdmake 2010-04-01 22:22:33 +00:00