mirror of https://gitee.com/openkylin/linux.git
slub: When allocating a new slab also prep the first object
We need to branch to the debug code for the first object if we allocate a new slab otherwise the first object will be marked wrongly as inactive. Tested-by: Rabin Vincent <rabin@rab.in> Signed-off-by: Christoph Lameter <cl@linux.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
This commit is contained in:
parent
1d07171c5e
commit
9e577e8b46
Loading…
Reference in New Issue