Messages in this thread | | | Date | Tue, 11 Nov 2008 23:37:53 +0200 | From | Izik Eidus <> | Subject | Re: [PATCH 2/4] Add replace_page(), change the mapping of pte from one page into another |
| |
Christoph Lameter wrote: > > > Currently page migration assumes that the page will continue to be part > of the existing file or anon vma. >
exactly, and ksm really need it to get out of the existing 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. > > >
No, i want pte that is found inside vma and point to anonymous page, will stop point into the anonymous page and will point to a whole diffrent page that i chose (for ksm it is needed because this way we are mapping alot of ptes into the same write_protected page and save memory)
| |