Re: [PATCH 7/8] vrange: Add method to purge volatile ranges

2013-06-18 Thread Minchan Kim
On Tue, Jun 11, 2013 at 09:22:50PM -0700, John Stultz wrote: > From: Minchan Kim > > This patch adds discarding function to purge volatile ranges under > memory pressure. Logic is as following: > > 1. Memory pressure happens > 2. VM start to reclaim pages > 3. Check the page is in volatile range

Re: [PATCH 7/8] vrange: Add method to purge volatile ranges

2013-06-17 Thread Minchan Kim
On Mon, Jun 17, 2013 at 04:13:31PM +0900, Minchan Kim wrote: > Hello John, > > I am rewriting purging path and found a bug from this patch. > I might forget it so I will send this comment for recording. > > On Tue, Jun 11, 2013 at 09:22:50PM -0700, John Stultz wrote: > > From: Minchan Kim > > >

Re: [PATCH 7/8] vrange: Add method to purge volatile ranges

2013-06-17 Thread Minchan Kim
Hello John, I am rewriting purging path and found a bug from this patch. I might forget it so I will send this comment for recording. On Tue, Jun 11, 2013 at 09:22:50PM -0700, John Stultz wrote: > From: Minchan Kim > > This patch adds discarding function to purge volatile ranges under > memory

[PATCH 7/8] vrange: Add method to purge volatile ranges

2013-06-11 Thread John Stultz
From: Minchan Kim This patch adds discarding function to purge volatile ranges under memory pressure. Logic is as following: 1. Memory pressure happens 2. VM start to reclaim pages 3. Check the page is in volatile range. 4. If so, zap the page from the process's page table. (By semantic vrang