Active message deadlock and kmalloc canary
authorBarret Rhoden <brho@cs.berkeley.edu>
Sun, 25 Oct 2009 07:45:08 +0000 (00:45 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Sun, 25 Oct 2009 07:45:08 +0000 (00:45 -0700)
commite870875c6660952f1db8c8bfe38d82de50830263
treedad63cbc53d45867bd17dd6855d895e8567d480f
parent3e68ab7d9133d9cbce5a8f7ae0278779c8e0e77d
Active message deadlock and kmalloc canary

Removed the sync version of active messages (they always work now), and
removed any complaints about active message deadlock.

Kmalloc also has a canary, which will detect most kfrees of
non-kmalloc'd or misaligned buffers.

For quick and dirty  printk-style debugging, use the macro I_AM_HERE.
kern/include/kmalloc.h
kern/include/stdio.h
kern/include/trap.h
kern/src/kmalloc.c
kern/src/monitor.c
kern/src/page_alloc.c
kern/src/process.c