CONFIG_CORE_SMALL reduce futex hash table

Signed-off-by: Matt Mackall <[EMAIL PROTECTED]>

Index: tiny-new/kernel/futex.c
===================================================================
--- tiny-new.orig/kernel/futex.c        2004-11-17 00:04:03.000000000 -0800
+++ tiny-new/kernel/futex.c     2004-11-17 10:30:20.749824672 -0800
@@ -40,7 +40,11 @@
 #include <linux/pagemap.h>
 #include <linux/syscalls.h>
 
+#ifdef CONFIG_CORE_SMALL
+#define FUTEX_HASHBITS 4
+#else
 #define FUTEX_HASHBITS 8
+#endif
 
 /*
  * Futexes are matched on equal values of this key.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to