X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=fs%2Fmbcache.c;h=e4fde1ab22cdb0a5af105cdea66cccf9473ac08e;hb=c7fa9963ee6317b54e85b260791d603ea2feb8e3;hp=f5bbe4c97c5800b1ea0b2c342c0352747deed074;hpb=8d5c315059460e665c804d5a9b641f7f0a1e9dd7;p=deliverable%2Flinux.git diff --git a/fs/mbcache.c b/fs/mbcache.c index f5bbe4c97c58..e4fde1ab22cd 100644 --- a/fs/mbcache.c +++ b/fs/mbcache.c @@ -288,7 +288,7 @@ mb_cache_create(const char *name, struct mb_cache_op *cache_op, INIT_LIST_HEAD(&cache->c_indexes_hash[m][n]); } cache->c_entry_cache = kmem_cache_create(name, entry_size, 0, - SLAB_RECLAIM_ACCOUNT, NULL, NULL); + SLAB_RECLAIM_ACCOUNT|SLAB_MEM_SPREAD, NULL, NULL); if (!cache->c_entry_cache) goto fail; @@ -311,7 +311,7 @@ fail: /* * mb_cache_shrink() * - * Removes all cache entires of a device from the cache. All cache entries + * Removes all cache entries of a device from the cache. All cache entries * currently in use cannot be freed, and thus remain in the cache. All others * are freed. *