lkml.org 
[lkml]   [2014]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 4/4] MADV_VOLATILE: Add page purging logic & SIGBUS trap
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


\
 
 \ /
  Last update: 2014-05-08 19:41    [W:2.071 / U:0.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site