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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...>
Cc: Izik Eidus <izik@...>, Avi Kivity <avi@...>, Andrea Arcangeli <aarcange@...>, Christoph Lameter <cl@...>, Andrew Morton <akpm@...>, <linux-kernel@...>, <linux-mm@...>, <kvm@...>, <chrisw@...>, <izike@...>
Date: Thursday, November 13, 2008 - 6:38 am

ציטוט KAMEZAWA Hiroyuki:

Yes.


But if we dont track KsmPages, and we call to page_remove_rmap() on the 
anonymous page that we
replace, why would it be a problem?
(should everything be correct in that case???)


Well in this version that i am going to merge the pages arent going to 
be swappable,
Latter after Ksm will get merged we will make the KsmPages swappable...
so i think working with cgroups would be effective / useful only when 
KsmPages will start be swappable...
Do you agree?
(What i am saying is that right now lets dont count the KsmPages inside 
the cgroup, lets do it when KsmPages
will be swappable)

If you feel this pages should be counted in the cgroup i have no problem 
to do it via hooks like page migration is doing.

thanks.


Sure will.


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 0/4] ksm - dynamic page sharing driver for linux, Andrea Arcangeli, (Tue Nov 11, 3:55 pm)
[PATCH 1/4] rmap: add page_wrprotect() function,, Izik Eidus, (Tue Nov 11, 9:21 am)
Re: [PATCH 1/4] rmap: add page_wrprotect() function,, Andrew Morton, (Tue Nov 11, 3:39 pm)
Re: [PATCH 1/4] rmap: add page_wrprotect() function,, Andrea Arcangeli, (Tue Nov 11, 4:38 pm)
Re: [PATCH 1/4] rmap: add page_wrprotect() function,, Andrew Morton, (Tue Nov 11, 5:01 pm)
Re: [PATCH 1/4] rmap: add page_wrprotect() function,, Andrea Arcangeli, (Tue Nov 11, 5:17 pm)
Re: [PATCH 2/4] Add replace_page(), change the mapping of pt..., Christoph Lameter, (Tue Nov 11, 5:26 pm)
Re: [PATCH 2/4] Add replace_page(), change the mapping of pt..., Christoph Lameter, (Tue Nov 11, 6:30 pm)
Re: [PATCH 2/4] Add replace_page(), change the mapping of pt..., Christoph Lameter, (Tue Nov 11, 8:27 pm)
Re: [PATCH 2/4] Add replace_page(), change the mapping of pt..., Andrea Arcangeli, (Tue Nov 11, 10:27 pm)
Re: [PATCH 2/4] Add replace_page(), change the mapping of pt..., Christoph Lameter, (Tue Nov 11, 11:10 pm)
Re: [PATCH 2/4] Add replace_page(), change the mapping of pt..., Christoph Lameter, (Wed Nov 12, 4:27 pm)
Re: [PATCH 2/4] Add replace_page(), change the mapping of pt..., Andrea Arcangeli, (Wed Nov 12, 10:00 pm)
Re: [PATCH 2/4] Add replace_page(), change the mapping of pt..., Andrea Arcangeli, (Wed Nov 12, 10:31 pm)
Re: [PATCH 2/4] Add replace_page(), change the mapping of pt..., Christoph Lameter, (Wed Nov 12, 4:31 pm)
Re: [PATCH 2/4] Add replace_page(), change the mapping of pt..., Christoph Lameter, (Tue Nov 11, 5:47 pm)
Re: [PATCH 2/4] Add replace_page(), change the mapping of pt..., Christoph Lameter, (Tue Nov 11, 5:21 pm)
Re: [PATCH 2/4] Add replace_page(), change the mapping of pt..., Christoph Lameter, (Tue Nov 11, 5:31 pm)
Re: [PATCH 2/4] Add replace_page(), change the mapping of pt..., KAMEZAWA Hiroyuki, (Tue Nov 11, 10:19 pm)
Re: [PATCH 2/4] Add replace_page(), change the mapping of pt..., KAMEZAWA Hiroyuki, (Thu Nov 13, 2:11 am)
Re: [PATCH 2/4] Add replace_page(), change the mapping of pt..., Izik Eidus, (Thu Nov 13, 6:38 am)
Re: [PATCH 2/4] Add replace_page(), change the mapping of pt..., KAMEZAWA Hiroyuki, (Thu Nov 13, 7:32 am)
[PATCH 3/4] add ksm kernel shared memory driver, Izik Eidus, (Tue Nov 11, 9:21 am)
Re: [PATCH 3/4] add ksm kernel shared memory driver, Jonathan Corbet, (Tue Nov 11, 6:03 pm)
Re: [PATCH 3/4] add ksm kernel shared memory driver, Avi Kivity, (Tue Nov 11, 6:43 pm)
Re: [PATCH 3/4] add ksm kernel shared memory driver, Eric Rannaud, (Thu Nov 13, 2:13 am)
Re: [PATCH 3/4] add ksm kernel shared memory driver, Izik Eidus, (Tue Nov 11, 6:17 pm)
Re: [PATCH 3/4] add ksm kernel shared memory driver, Avi Kivity, (Tue Nov 11, 6:49 pm)
Re: [PATCH 3/4] add ksm kernel shared memory driver, Jonathan Corbet, (Tue Nov 11, 6:30 pm)
Re: [PATCH 3/4] add ksm kernel shared memory driver, Izik Eidus, (Tue Nov 11, 7:02 pm)
Re: [PATCH 3/4] add ksm kernel shared memory driver, Andrea Arcangeli, (Tue Nov 11, 7:03 pm)
Re: [PATCH 3/4] add ksm kernel shared memory driver, Izik Eidus, (Tue Nov 11, 6:38 pm)
Re: [PATCH 3/4] add ksm kernel shared memory driver, Jonathan Corbet, (Tue Nov 11, 6:25 pm)
Re: [PATCH 3/4] add ksm kernel shared memory driver, Izik Eidus, (Tue Nov 11, 6:31 pm)
Re: [PATCH 3/4] add ksm kernel shared memory driver, Andrew Morton, (Tue Nov 11, 4:38 pm)
Re: [PATCH 3/4] add ksm kernel shared memory driver, Andrea Arcangeli, (Tue Nov 11, 6:03 pm)
[PATCH 4/4] MMU_NOTIFIRES: add set_pte_at_notify(), Izik Eidus, (Tue Nov 11, 9:21 am)