Improved locking in salloc and SLAB allocator