Re: 2.4.0test3-pre6 hogging mem for cache

From: Stephen C. Tweedie (sct@redhat.com)
Date: Sun Jul 16 2000 - 13:02:08 EST


Hi,

On Fri, Jul 14, 2000 at 08:09:06PM +0200, Andrea Arcangeli wrote:
>
> If somebody developed the code for page->pte reverse lookup I'd love if we
> could synchronize since that is something completly indipendent from its
> possible usages (I've not yet started writing it since I didn't yet
> reached the point where I'll need it but I'm very close). Let's think
> about the simple case of anon pages. SCT said "use the struct page itself
> to encode the VA of the page for unshared anon pages, and keep a separate
> hash of all shared anon ptes.". Problem is that virtual address per se
> it's useless since the 'struct page' doesn't even tell us wich is the MM
> where such VA belongs to.

sct also said to use the per-page address space to point to a per-mm
address space, giving a lookup from page to mm. :-)

--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/



This archive was generated by hypermail 2b29 : Sun Jul 23 2000 - 21:00:08 EST