Malloc changes for future plan 9 namespace support
authorRonald G. Minnich <rminnich@gmail.com>
Fri, 2 Aug 2013 17:19:41 +0000 (10:19 -0700)
committerRonald G. Minnich <rminnich@gmail.com>
Fri, 2 Aug 2013 17:19:41 +0000 (10:19 -0700)
commit12bbabefe2ebf84dfc167e0f2f0433a6953ada5c
treefa84c932f5514ff22b93616937b1b10eebdfcaeb
parent0169cc630c1435ed4b22d405defd78147a3871f2
Malloc changes for future plan 9 namespace support

Add a kzmalloc which zeros the allocated area.

Add a flag, to be done later, which indicates that blocking, instead
of panicing, is ok when memory is not available.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
kern/include/kmalloc.h
kern/src/kmalloc.c