Re: [PATCH 2/4] Add replace_page(), change the mapping of pte from one page into another

Izik Eidus
2008-11-11T21:24:40Z

Christoph Lameter wrote:
>> page migration as far as i saw cant migrate anonymous page into kernel page.
>> if you want we can change page_migration to do that, but i thought you will
>> rather have ksm changes separate.
>>
>
> 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())
ksm need the pte inside the vma to point from anonymous page into
filebacked page
can migrate.c do it without changes?