Re: [patch 2/2] mm: page-writeback: do not count anon pages as dirtyable memory

2014-01-28 Thread Michal Hocko
On Fri 24-01-14 17:03:04, Johannes Weiner wrote: > The VM is currently heavily tuned to avoid swapping. Whether that is > good or bad is a separate discussion, but as long as the VM won't swap > to make room for dirty cache, we can not consider anonymous pages when > calculating the amount of

Re: [patch 2/2] mm: page-writeback: do not count anon pages as dirtyable memory

2014-01-28 Thread Michal Hocko
On Fri 24-01-14 17:03:04, Johannes Weiner wrote: The VM is currently heavily tuned to avoid swapping. Whether that is good or bad is a separate discussion, but as long as the VM won't swap to make room for dirty cache, we can not consider anonymous pages when calculating the amount of

Re: [patch 2/2] mm: page-writeback: do not count anon pages as dirtyable memory

2014-01-24 Thread Rik van Riel
On 01/24/2014 05:03 PM, Johannes Weiner wrote: > The VM is currently heavily tuned to avoid swapping. Whether that is > good or bad is a separate discussion, but as long as the VM won't swap > to make room for dirty cache, we can not consider anonymous pages when > calculating the amount of

[patch 2/2] mm: page-writeback: do not count anon pages as dirtyable memory

2014-01-24 Thread Johannes Weiner
The VM is currently heavily tuned to avoid swapping. Whether that is good or bad is a separate discussion, but as long as the VM won't swap to make room for dirty cache, we can not consider anonymous pages when calculating the amount of dirtyable memory, the baseline to which

[patch 2/2] mm: page-writeback: do not count anon pages as dirtyable memory

2014-01-24 Thread Johannes Weiner
The VM is currently heavily tuned to avoid swapping. Whether that is good or bad is a separate discussion, but as long as the VM won't swap to make room for dirty cache, we can not consider anonymous pages when calculating the amount of dirtyable memory, the baseline to which

Re: [patch 2/2] mm: page-writeback: do not count anon pages as dirtyable memory

2014-01-24 Thread Rik van Riel
On 01/24/2014 05:03 PM, Johannes Weiner wrote: The VM is currently heavily tuned to avoid swapping. Whether that is good or bad is a separate discussion, but as long as the VM won't swap to make room for dirty cache, we can not consider anonymous pages when calculating the amount of dirtyable