Messages in this thread | | | Date | Thu, 08 May 2014 09:39:48 -0700 | From | John Stultz <> | Subject | Re: [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
| |