Re: What to expect with the 2.6 VM

From: Andrea Arcangeli (
Date: Wed Jul 02 2003 - 12:47:00 EST

On Wed, Jul 02, 2003 at 10:10:09AM -0700, Martin J. Bligh wrote:
> Maybe I'm just taking this out of context, and it's twisting my brain,
> but as far as I know, the nonlinear vma's *are* backed by pte_chains.
> That was the whole problem with objrmap having to do conversions, etc.
> Am I just confused for some reason? I was pretty sure that was right ...

you're right:

int install_page(struct mm_struct *mm, struct vm_area_struct *vma,
                unsigned long addr, struct page *page, pgprot_t prot)
        flush_icache_page(vma, page);
        set_pte(pte, mk_pte(page, prot));
        pte_chain = page_add_rmap(page, pte, pte_chain);

(this make me understand better some of the arguments in the previous
emails too ;)

So ether we declare 32bit archs obsolete in production with 2.6, or we
drop rmap behind remap_file_pages.

actually other more invasive ways could be to move rmap into highmem.
Also the page clustering could also hide part of the mem overhead by
assuming the pagetables to be contiguos, but page clustering isn't part
of mainline yet either.

Something has to change since IMHO in the current 2.5.73 remap_file_pages
is nearly useless.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Jul 07 2003 - 22:00:17 EST