Re: [RFC V3] mm: change mm_advise_free to clear page dirty

2015-03-08 Thread Minchan Kim
Hello Michal, On Thu, Mar 05, 2015 at 04:35:05PM +0100, Michal Hocko wrote: > On Tue 03-03-15 12:25:51, Minchan Kim wrote: > [...] > > From 30c6d5b35a3dc7e451041183ce5efd6a6c42bf88 Mon Sep 17 00:00:00 2001 > > From: Minchan Kim > > Date: Tue, 3 Mar 2015 10:06:59 +0900 > > Subject: [RFC] mm: make

Re: [RFC V3] mm: change mm_advise_free to clear page dirty

2015-03-05 Thread Michal Hocko
On Tue 03-03-15 12:25:51, Minchan Kim wrote: [...] > From 30c6d5b35a3dc7e451041183ce5efd6a6c42bf88 Mon Sep 17 00:00:00 2001 > From: Minchan Kim > Date: Tue, 3 Mar 2015 10:06:59 +0900 > Subject: [RFC] mm: make every pte dirty on do_swap_page Hi Minchan, could you resend this patch separately. I am

Re: [RFC V3] mm: change mm_advise_free to clear page dirty

2015-03-03 Thread Minchan Kim
ko'; 'Andrew Morton'; 'linux-kernel@vger.kernel.org'; > > 'linux...@kvack.org'; 'Rik van Riel'; 'Johannes Weiner'; 'Mel Gorman'; > > 'Shaohua Li'; Hugh Dickins; Cyrill Gorcunov > > Subject: Re: [RFC V3] mm: chang

RE: [RFC V3] mm: change mm_advise_free to clear page dirty

2015-03-02 Thread Wang, Yalin
.@kvack.org'; 'Rik van Riel'; 'Johannes Weiner'; 'Mel Gorman'; > 'Shaohua Li'; Hugh Dickins; Cyrill Gorcunov > Subject: Re: [RFC V3] mm: change mm_advise_free to clear page dirty > > On Tue, Mar 03, 2015 at 11:59:17AM +0800, Wang, Yalin wrote

Re: [RFC V3] mm: change mm_advise_free to clear page dirty

2015-03-02 Thread Minchan Kim
ko'; 'Andrew Morton'; 'linux-kernel@vger.kernel.org'; > > 'linux...@kvack.org'; 'Rik van Riel'; 'Johannes Weiner'; 'Mel Gorman'; > > 'Shaohua Li'; Hugh Dickins; Cyrill Gorcunov > > Subject: Re: [RFC V3] mm: change mm_a

RE: [RFC V3] mm: change mm_advise_free to clear page dirty

2015-03-02 Thread Wang, Yalin
.@kvack.org'; 'Rik van Riel'; 'Johannes Weiner'; 'Mel Gorman'; > 'Shaohua Li'; Hugh Dickins; Cyrill Gorcunov > Subject: Re: [RFC V3] mm: change mm_advise_free to clear page dirty > > Could you separte this patch in this patchset thread? >

Re: [RFC V3] mm: change mm_advise_free to clear page dirty

2015-03-02 Thread Minchan Kim
Could you separte this patch in this patchset thread? It's tackling differnt problem. As well, I had a question to previous thread about why shared page has a problem now but you didn't answer and send a new patchset. It makes reviewers/maintainer time waste/confuse. Please, don't hurry to send a

[RFC V3] mm: change mm_advise_free to clear page dirty

2015-03-02 Thread Wang, Yalin
This patch add ClearPageDirty() to clear AnonPage dirty flag, if not clear page dirty for this anon page, the page will never be treated as freeable. We also make sure the shared AnonPage is not freeable, we implement it by dirty all copyed AnonPage pte, so that make sure the Anonpage will not beco