Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261950AbVAaH2a (ORCPT ); Mon, 31 Jan 2005 02:28:30 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261938AbVAaH0U (ORCPT ); Mon, 31 Jan 2005 02:26:20 -0500 Received: from waste.org ([216.27.176.166]:9964 "EHLO waste.org") by vger.kernel.org with ESMTP id S261939AbVAaHZz (ORCPT ); Mon, 31 Jan 2005 02:25:55 -0500 Date: Mon, 31 Jan 2005 01:25:52 -0600 From: Matt Mackall To: Andrew Morton X-PatchBomber: http://selenic.com/scripts/mailpatches Cc: linux-kernel@vger.kernel.org In-Reply-To: <6.687457650@selenic.com> Message-Id: <7.687457650@selenic.com> Subject: [PATCH 6/8] base-small: shrink futex queues Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 762 Lines: 22 CONFIG_BASE_SMALL reduce futex hash table Signed-off-by: Matt Mackall 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 #include -#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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/