From mboxrd@z Thu Jan 1 00:00:00 1970 From: Izik Eidus Subject: Re: [PATCH 2/4] Add replace_page(), change the mapping of pte from one page into another Date: Tue, 11 Nov 2008 23:23:58 +0200 Message-ID: <4919F7EE.3070501@redhat.com> References: <1226409701-14831-1-git-send-email-ieidus@redhat.com> <1226409701-14831-2-git-send-email-ieidus@redhat.com> <1226409701-14831-3-git-send-email-ieidus@redhat.com> <20081111114555.eb808843.akpm@linux-foundation.org> <4919F1C0.2050009@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org, kvm@vger.kernel.org, aarcange@redhat.com, chrisw@redhat.com, avi@redhat.com, izike@qumranet.com To: Christoph Lameter Return-path: Received: from mx2.redhat.com ([66.187.237.31]:36016 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751142AbYKKVY3 (ORCPT ); Tue, 11 Nov 2008 16:24:29 -0500 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: 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?