Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
slub: Prepare inuse field in new_slab()
inuse will always be set to page->objects. There is no point in initializing the field to zero in new_slab() and then overwriting the value in __slab_alloc(). Signed-off-by: Christoph Lameter <[email protected]> Signed-off-by: Pekka Enberg <[email protected]>
- Loading branch information