|
|
@@ -112,7 +112,8 @@ static struct kmem_cache *bio_find_or_create_slab(unsigned int extra_size)
|
|
|
bslab = &bio_slabs[entry];
|
|
|
|
|
|
snprintf(bslab->name, sizeof(bslab->name), "bio-%d", entry);
|
|
|
- slab = kmem_cache_create(bslab->name, sz, 0, SLAB_HWCACHE_ALIGN, NULL);
|
|
|
+ slab = kmem_cache_create(bslab->name, sz, ARCH_KMALLOC_MINALIGN,
|
|
|
+ SLAB_HWCACHE_ALIGN, NULL);
|
|
|
if (!slab)
|
|
|
goto out_unlock;
|
|
|
|