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

From: Izik Eidus
Date: Tue Nov 11 2008 - 16:39:08 EST


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)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/