CONFIG_BASE_SMALL reduce futex hash table

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

Index: tq/kernel/futex.c
===================================================================
--- tq.orig/kernel/futex.c      2005-01-25 09:26:18.000000000 -0800
+++ tq/kernel/futex.c   2005-01-26 13:11:43.000000000 -0800
@@ -40,7 +40,7 @@
 #include <linux/pagemap.h>
 #include <linux/syscalls.h>
 
-#define FUTEX_HASHBITS 8
+#define FUTEX_HASHBITS (CONFIG_BASE_SMALL ? 4 : 8)
 
 /*
  * 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