diff options
author | Brian Behlendorf <behlendorf1@llnl.gov> | 2010-05-20 09:52:37 -0700 |
---|---|---|
committer | Brian Behlendorf <behlendorf1@llnl.gov> | 2010-05-20 09:52:37 -0700 |
commit | e0dcb22e4ee6b7205e7cc1acd6de24d02509e9cc (patch) | |
tree | 75dfc2b032394ede829961eed2b4d8cb4681f2d7 /module | |
parent | 5198ea0e713895efc06f1254e009e2271436fc6f (diff) |
Adjust 'large' object sizes in kmem:slab_large test.
64K objects are large for a kmem based slab (2M slabs)
1M objects are large for a vmem cased slab (32M slabs)
Diffstat (limited to 'module')
-rw-r--r-- | module/splat/splat-kmem.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/splat/splat-kmem.c b/module/splat/splat-kmem.c index 27efadca5..e3b6a781c 100644 --- a/module/splat/splat-kmem.c +++ b/module/splat/splat-kmem.c @@ -736,15 +736,15 @@ splat_kmem_test6(struct file *file, void *arg) char *name = SPLAT_KMEM_TEST6_NAME; int rc; - rc = splat_kmem_cache_test(file, arg, name, 128*1024, 0, 0); + rc = splat_kmem_cache_test(file, arg, name, 256*1024, 0, 0); if (rc) return rc; - rc = splat_kmem_cache_test(file, arg, name, 128*1024, 0, KMC_KMEM); + rc = splat_kmem_cache_test(file, arg, name, 64*1024, 0, KMC_KMEM); if (rc) return rc; - return splat_kmem_cache_test(file, arg, name, 128*1028, 0, KMC_VMEM); + return splat_kmem_cache_test(file, arg, name, 1024*1024, 0, KMC_VMEM); } /* Validate object alignment cache behavior for caches */ |