mm/slab: fix the theoretical race by holding proper lock