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

2015-03-02 Thread Michal Hocko
On Sat 28-02-15 14:01:46, Wang, Yalin wrote: > 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 AnonP

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

2015-02-27 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