Messages in this thread | | | Date | Wed, 25 Nov 2015 03:00:12 -0800 (PST) | From | David Rientjes <> | Subject | Re: [PATCH 1/2] mm, vmscan: consider isolated pages in zone_reclaimable_pages |
| |
On Tue, 24 Nov 2015, Michal Hocko wrote:
> From: Michal Hocko <mhocko@suse.com> > > zone_reclaimable_pages counts how many pages are reclaimable in > the given zone. This currently includes all pages on file lrus and > anon lrus if there is an available swap storage. We do not consider > NR_ISOLATED_{ANON,FILE} counters though which is not correct because > these counters reflect temporarily isolated pages which are still > reclaimable because they either get back to their LRU or get freed > either by the page reclaim or page migration. > > The number of these pages might be sufficiently high to confuse users of > zone_reclaimable_pages (e.g. mbind can migrate large ranges of memory at > once). > > Suggested-by: Johannes Weiner <hannes@cmpxchg.org> > Signed-off-by: Michal Hocko <mhocko@suse.com>
Acked-by: David Rientjes <rientjes@google.com>
| |