Re: hashtables allocated with __get_free_pages()

Stephen C. Tweedie (sct@redhat.com)
Sat, 3 Jul 1999 01:48:05 +0100 (BST)


Hi,

On Thu, 1 Jul 1999 17:16:04 -0700, "David S. Miller" <davem@redhat.com>
said:

> On some of the systems I've tested the 2.3.9 code on, the page cache
> hash table is 1MB or 2MB in size. How do you suggest that I allocate
> this memory whose size is dynamic based upon available memory and
> needs to be sized after the free page pools are setup?

I believe the whole argument is over whether or not you have to wait
until after the free pool setup at all. You certainly have enough
information to do dynamic sizing before that point, and you don't need a
large kmalloc there at all to get good tlb performance.

--Stephen

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/