minix/kernel
Tomas Hruby ad4dcaab71 Idle task never runs
- idle task becomes a pseudo task which is never scheduled. It is never put on
  any run queue and never enters userspace. An entry for this task still remains
  in the process table for time accounting

- Instead of panicing if there is not process to schedule, pick_proc() returns
  NULL which is a signal to put the cpu in an idle state and set everything in
  such a way that after receiving and interrupt it looks like idle task was
  preempted

- idle task is set non-preemptible to avoid handling in the timer interrupt code
  which make userspace scheduling simpler as idle task does not need to be
  handled as a special case.
2009-11-12 08:42:18 +00:00
..
arch/i386 Idle task never runs 2009-11-12 08:42:18 +00:00
system allow kernel to tell VM extra physical addresses it wants mapped in. 2009-11-11 12:07:06 +00:00
clock.c All macros defining rts flags are prefixed with RTS_ 2009-11-10 09:11:13 +00:00
clock.h Clock task split 2009-11-06 09:04:15 +00:00
config.h Merge of David's ptrace branch. Summary: 2009-09-30 09:57:22 +00:00
const.h Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
debug.c All macros defining rts flags are prefixed with RTS_ 2009-11-10 09:11:13 +00:00
debug.h vmassert reports also the source file in which it was triggered 2009-11-04 15:30:08 +00:00
glo.h pick_proc() called only just before returning to userspace 2009-11-09 17:48:31 +00:00
interrupt.c Hardware interrupts code path cleanup 2009-11-04 13:24:56 +00:00
ipc.h All macros defining rts flags are prefixed with RTS_ 2009-11-10 09:11:13 +00:00
kernel.h Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
main.c Idle task never runs 2009-11-12 08:42:18 +00:00
Makefile Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
priv.h Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
proc.c Idle task never runs 2009-11-12 08:42:18 +00:00
proc.h kernel/proc.h can be included in kernel assembky files 2009-11-10 09:14:50 +00:00
profile.c pick_proc() called only just before returning to userspace 2009-11-09 17:48:31 +00:00
profile.h cprofile not conditional 2009-01-09 21:44:52 +00:00
proto.h Idle task never runs 2009-11-12 08:42:18 +00:00
start.c Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
system.c All macros defining rts flags are prefixed with RTS_ 2009-11-10 09:11:13 +00:00
system.h Merge of David's ptrace branch. Summary: 2009-09-30 09:57:22 +00:00
table.c Idle task never runs 2009-11-12 08:42:18 +00:00
type.h Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
utility.c Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
vm.h Primary goal for these changes is: 2009-09-21 14:31:52 +00:00