Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262679AbTKYNme (ORCPT ); Tue, 25 Nov 2003 08:42:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262683AbTKYNme (ORCPT ); Tue, 25 Nov 2003 08:42:34 -0500 Received: from holomorphy.com ([199.26.172.102]:4027 "EHLO holomorphy") by vger.kernel.org with ESMTP id S262679AbTKYNmd (ORCPT ); Tue, 25 Nov 2003 08:42:33 -0500 Date: Tue, 25 Nov 2003 05:42:22 -0800 From: William Lee Irwin III To: Jes Sorensen Cc: Alexander Viro , Andrew Morton , linux-kernel@vger.kernel.org, jbarnes@sgi.com, steiner@sgi.com Subject: Re: hash table sizes Message-ID: <20031125134222.GA8039@holomorphy.com> Mail-Followup-To: William Lee Irwin III , Jes Sorensen , Alexander Viro , Andrew Morton , linux-kernel@vger.kernel.org, jbarnes@sgi.com, steiner@sgi.com References: <16323.23221.835676.999857@gargle.gargle.HOWL> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16323.23221.835676.999857@gargle.gargle.HOWL> Organization: The Domain of Holomorphy User-Agent: Mutt/1.5.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 490 Lines: 14 On Tue, Nov 25, 2003 at 08:35:49AM -0500, Jes Sorensen wrote: > + mempages >>= (23 - (PAGE_SHIFT - 1)); > + order = max(2, fls(mempages)); > + order = min(12, order); This is curious; what's 23 - (PAGE_SHIFT - 1) supposed to represent? -- wli - 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/