Fix make check
authorMatthias Clasen <mclasen@redhat.com>
Sun, 1 May 2011 21:07:46 +0000 (17:07 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 1 May 2011 21:10:04 +0000 (17:10 -0400)
g_thread_init() causes a hash table to be allocated (in read_aliases).
Since hash tables are now a bit larger, we need to bump one of the
probe sizes to avoid our probe slice being used for the aliases
hash table.

tests/slice-threadinit.c

index 5c44075..f29dcbe 100644 (file)
@@ -23,7 +23,7 @@
 #define N_PAGES                 (101)                   /* number of pages to sample */
 #define SAMPLE_SIZE             (7)
 #define PAGE_SIZE               (128)                   /* must be <= minimum GSlice alignment block */
-#define MAGAZINE_PROBES         { 81, 265, 347 }        /* block sizes hopefully unused by g_thread_init */
+#define MAGAZINE_PROBES         { 97, 265, 347 }        /* block sizes hopefully unused by g_thread_init */
 #define MAX_PROBE_TRIALS        (1031)                  /* must be >= maximum magazine size */
 
 #define ALIGN(size, base)       ((base) * (gsize) (((size) + (base) - 1) / (base)))