Re: [PATCH 4/4] MADV_VOLATILE: Add page purging logic & SIGBUS trap

John Stultz
2014-05-08T16:39:54Z

On 05/07/2014 10:16 PM, Minchan Kim wrote:
> On Tue, Apr 29, 2014 at 02:21:23PM -0700, John Stultz wrote:
>> + update_hiwater_rss(mm);
>> + if (PageAnon(page))
>> + dec_mm_counter(mm, MM_ANONPAGES);
>> + else
>> + dec_mm_counter(mm, MM_FILEPAGES);
> We can add file-backed page part later when we move to suppport vrange-file.

Fair enough. That bit is easy to drop for now.

thanks
-john