nmalloc - Remove startup locking
authorSamuel J. Greear <sjg@thesjg.com>
Sun, 28 Nov 2010 07:14:55 +0000 (07:14 +0000)
committerSamuel J. Greear <sjg@thesjg.com>
Sun, 28 Nov 2010 07:14:55 +0000 (07:14 +0000)
commit9eb39500edf5393839ae613af3bd6d2d30f4e973
tree7733a52db5fa36bdc22828504de6e03e4cf0d43e
parent2ea04d5f7f70089b8f53ba557913992ecc72556c
nmalloc - Remove startup locking

* A spinlock is no longer needed for malloc_init, it is run as a constructor
  now, as such it is run before any other threads are started.
lib/libc/stdlib/nmalloc.c