Re: [PATCH] mm: add replace_page_cache_page() function

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Miklos Szeredi
Date: Thursday, December 16, 2010 - 5:05 am

On Thu, 16 Dec 2010, KAMEZAWA Hiroyuki wrote:

No, I just haven't thought about it.

Porbably charging "new" to where "old" was charged is the logical
thing to do here.


This is the call which the above patch replaces with
replace_page_cache_page().  So if I fix replace_page_cache_page() to
charge "newpage" to the correct memory cgroup, that should solve all
problems, no?

Thanks for the review.

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

Messages in current thread:
[PATCH] mm: add replace_page_cache_page() function, Miklos Szeredi, (Wed Dec 15, 8:49 am)
Re: [PATCH] mm: add replace_page_cache_page() function, Rik van Riel, (Wed Dec 15, 9:49 am)
Re: [PATCH] mm: add replace_page_cache_page() function, Minchan Kim, (Wed Dec 15, 4:22 pm)
Re: [PATCH] mm: add replace_page_cache_page() function, KAMEZAWA Hiroyuki, (Wed Dec 15, 6:07 pm)
Re: [PATCH] mm: add replace_page_cache_page() function, Miklos Szeredi, (Thu Dec 16, 5:05 am)
Re: [PATCH] mm: add replace_page_cache_page() function, Hugh Dickins, (Thu Dec 16, 6:21 pm)
Re: [PATCH] mm: add replace_page_cache_page() function, Minchan Kim, (Thu Dec 16, 6:40 pm)
Re: [PATCH] mm: add replace_page_cache_page() function, Minchan Kim, (Thu Dec 16, 9:37 pm)
Re: [PATCH] mm: add replace_page_cache_page() function, Miklos Szeredi, (Fri Dec 17, 8:51 am)
Re: [PATCH] mm: add replace_page_cache_page() function, Miklos Szeredi, (Fri Dec 17, 8:53 am)
Re: [PATCH] mm: add replace_page_cache_page() function, KAMEZAWA Hiroyuki, (Sun Dec 19, 4:54 pm)