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

From: John Stultz
Date: Thu May 08 2014 - 12:39:57 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/