Kernel messages infrastructure
authorBarret Rhoden <brho@cs.berkeley.edu>
Sat, 20 Mar 2010 02:42:22 +0000 (19:42 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:40 +0000 (17:35 -0700)
commit3fa6bb91dd09025dfff4d94fd5f906f73bbe6e2c
tree1b0651fe4d95375df6fa15ab7c8f7c85cd355042
parentbe64e6ea4de457d608f67cc1728de2e94735609d
Kernel messages infrastructure

Expands the old active messaging mechanisms to support different types
of messages: Immediate and Routine.  This will be the main way of moving
work around (either to another core or delaying with an alarm).  All
usages of existing active messages have been switched to kernel messages
in the immediate mode (which is what they were doing before).  Sparc
does not support routine calls yet, but will shortly.  Read the
Documentation for more details.

This hasn't been tested fully yet - the test cases won't do much, since
the kernel doesn't check for routine messages yet, and the tests occur
during an smp_idle() loop.
20 files changed:
Documentation/kernel_messages.txt [new file with mode: 0644]
Documentation/process-internals.txt
kern/arch/i686/apic.h
kern/arch/i686/smp_boot.c
kern/arch/i686/trap.c
kern/arch/i686/trap.h
kern/arch/i686/trapentry.S
kern/arch/sparc/cpuinfo.c
kern/arch/sparc/smp.c
kern/arch/sparc/trap.c
kern/arch/sparc/trap.h
kern/include/process.h
kern/include/ros/notification.h
kern/include/smp.h
kern/include/testing.h
kern/include/trap.h
kern/src/frontend.c
kern/src/init.c
kern/src/process.c
kern/src/testing.c