Messages in this thread |  | | Subject | Re: hash table sizes | From | Jes Sorensen <> | Date | 25 Nov 2003 08:54:03 -0500 |
| |
>>>>> "William" == William Lee Irwin <wli@holomorphy.com> writes:
William> 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);
William> This is curious; what's 23 - (PAGE_SHIFT - 1) supposed to William> represent?
Well MB >> 2 or consider it trial and error ;-)
Cheers, Jes - 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/
|  |