summaryrefslogtreecommitdiff
path: root/kern/kalloc.c
AgeCommit message (Collapse)Author
2009-06-182004-09-07 Neal H. Walfield <neal@cs.uml.edu>Alfred M. Szmidt
* linux/dev/glue/block.c (__brelse): Unconditionally kfree BH. (getblk): Unconditionally kalloc BH. * kern/kalloc.c [!NDEBUG] (kalloc_init_called): New static variable. (kalloc_init): Assert that kalloc_init_called is zero. [! NDEBUG] Set kalloc_init_called to 1 on success. (kalloc): Assert that kalloc_init_called is non-zero. (kget): Likewise. (kfree): Likewise.
1997-02-25Initial sourceThomas Bushnell