Re: [PATCH 5/5] vmscan: Age anonymous memory even when swap is off.

2014-03-24 Thread John Stultz
On Mon, Mar 24, 2014 at 10:33 AM, Rik van Riel wrote: > On 03/21/2014 05:17 PM, John Stultz wrote: >> >> Currently we don't shrink/scan the anonymous lrus when swap is off. >> This is problematic for volatile range purging on swapless systems/ >> >> This patch naievely changes the vmscan code to

Re: [PATCH 5/5] vmscan: Age anonymous memory even when swap is off.

2014-03-24 Thread Rik van Riel
On 03/21/2014 05:17 PM, John Stultz wrote: Currently we don't shrink/scan the anonymous lrus when swap is off. This is problematic for volatile range purging on swapless systems/ This patch naievely changes the vmscan code to continue scanning and shrinking the lrus even when there is no swap.

Re: [PATCH 5/5] vmscan: Age anonymous memory even when swap is off.

2014-03-24 Thread Rik van Riel
On 03/21/2014 05:17 PM, John Stultz wrote: Currently we don't shrink/scan the anonymous lrus when swap is off. This is problematic for volatile range purging on swapless systems/ This patch naievely changes the vmscan code to continue scanning and shrinking the lrus even when there is no swap.

Re: [PATCH 5/5] vmscan: Age anonymous memory even when swap is off.

2014-03-24 Thread John Stultz
On Mon, Mar 24, 2014 at 10:33 AM, Rik van Riel r...@redhat.com wrote: On 03/21/2014 05:17 PM, John Stultz wrote: Currently we don't shrink/scan the anonymous lrus when swap is off. This is problematic for volatile range purging on swapless systems/ This patch naievely changes the vmscan code

[PATCH 5/5] vmscan: Age anonymous memory even when swap is off.

2014-03-21 Thread John Stultz
Currently we don't shrink/scan the anonymous lrus when swap is off. This is problematic for volatile range purging on swapless systems/ This patch naievely changes the vmscan code to continue scanning and shrinking the lrus even when there is no swap. It obviously has performance issues.

[PATCH 5/5] vmscan: Age anonymous memory even when swap is off.

2014-03-21 Thread John Stultz
Currently we don't shrink/scan the anonymous lrus when swap is off. This is problematic for volatile range purging on swapless systems/ This patch naievely changes the vmscan code to continue scanning and shrinking the lrus even when there is no swap. It obviously has performance issues.