[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 11 Nov 2008 15:31:18 -0600 (CST)
From: Christoph Lameter <cl@...ux-foundation.org>
To: Izik Eidus <ieidus@...hat.com>
cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org, linux-mm@...ck.org,
kvm@...r.kernel.org, aarcange@...hat.com, chrisw@...hat.com,
avi@...hat.com, izike@...ranet.com
Subject: Re: [PATCH 2/4] Add replace_page(), change the mapping of pte from
one page into another
On Tue, 11 Nov 2008, Izik Eidus wrote:
> > What do you mean by kernel page? The kernel can allocate a page and then
> > point a user space pte to it. That is how page migration works.
> >
> i mean filebacked page (!AnonPage())
ok.
> ksm need the pte inside the vma to point from anonymous page into filebacked
> page
> can migrate.c do it without changes?
So change anonymous to filebacked page?
Currently page migration assumes that the page will continue to be part
of the existing file or anon vma.
What you want sounds like assigning a swap pte to an anonymous page? That
way a anon page gains membership in a file backed mapping.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists