lkml.org 
[lkml]   [2008]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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)



\
 
 \ /
  Last update: 2008-11-11 22:41    [W:0.115 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site