]> git.proxmox.com Git - mirror_spl.git/commitdiff
splat kmem:slab_overcommit: Disabled
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 2 Nov 2012 23:13:50 +0000 (16:13 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 6 Nov 2012 22:48:57 +0000 (14:48 -0800)
Disable this test because it may result in an OOM event on the
system which can result in the test infrastructure being killed.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
module/splat/splat-kmem.c

index f1c4613fad07709e37bf8b4c86bbe315878878ba..30750aa0111979ae75ae1bbc98c766953ecf1f0b 100644 (file)
 #define SPLAT_KMEM_TEST10_NAME         "slab_lock"
 #define SPLAT_KMEM_TEST10_DESC         "Slab locking test"
 
-#ifdef _LP64
+#if 0
 #define SPLAT_KMEM_TEST11_ID           0x010b
 #define SPLAT_KMEM_TEST11_NAME         "slab_overcommit"
 #define SPLAT_KMEM_TEST11_DESC         "Slab memory overcommit test"
-#endif /* _LP64 */
+#endif
 
 #define SPLAT_KMEM_TEST12_ID           0x010c
 #define SPLAT_KMEM_TEST12_NAME         "vmem_size"
@@ -1008,7 +1008,7 @@ splat_kmem_test10(struct file *file, void *arg)
        return rc;
 }
 
-#ifdef _LP64
+#if 0
 /*
  * This test creates N threads with a shared kmem cache which overcommits
  * memory by 4x.  This makes it impossible for the slab to satify the
@@ -1039,7 +1039,7 @@ splat_kmem_test11(struct file *file, void *arg)
 
        return rc;
 }
-#endif /* _LP64 */
+#endif
 
 /*
  * Check vmem_size() behavior by acquiring the alloc/free/total vmem
@@ -1292,10 +1292,10 @@ splat_kmem_init(void)
                        SPLAT_KMEM_TEST9_ID, splat_kmem_test9);
        SPLAT_TEST_INIT(sub, SPLAT_KMEM_TEST10_NAME, SPLAT_KMEM_TEST10_DESC,
                        SPLAT_KMEM_TEST10_ID, splat_kmem_test10);
-#ifdef _LP64
+#if 0
        SPLAT_TEST_INIT(sub, SPLAT_KMEM_TEST11_NAME, SPLAT_KMEM_TEST11_DESC,
                        SPLAT_KMEM_TEST11_ID, splat_kmem_test11);
-#endif /* _LP64 */
+#endif
        SPLAT_TEST_INIT(sub, SPLAT_KMEM_TEST12_NAME, SPLAT_KMEM_TEST12_DESC,
                        SPLAT_KMEM_TEST12_ID, splat_kmem_test12);
        SPLAT_TEST_INIT(sub, SPLAT_KMEM_TEST13_NAME, SPLAT_KMEM_TEST13_DESC,
@@ -1310,9 +1310,9 @@ splat_kmem_fini(splat_subsystem_t *sub)
        ASSERT(sub);
        SPLAT_TEST_FINI(sub, SPLAT_KMEM_TEST13_ID);
        SPLAT_TEST_FINI(sub, SPLAT_KMEM_TEST12_ID);
-#ifdef _LP64
+#if 0
        SPLAT_TEST_FINI(sub, SPLAT_KMEM_TEST11_ID);
-#endif /* _LP64 */
+#endif
        SPLAT_TEST_FINI(sub, SPLAT_KMEM_TEST10_ID);
        SPLAT_TEST_FINI(sub, SPLAT_KMEM_TEST9_ID);
        SPLAT_TEST_FINI(sub, SPLAT_KMEM_TEST8_ID);