Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752813AbbKYLAV (ORCPT ); Wed, 25 Nov 2015 06:00:21 -0500 Received: from mail-pa0-f44.google.com ([209.85.220.44]:34505 "EHLO mail-pa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752683AbbKYLAO (ORCPT ); Wed, 25 Nov 2015 06:00:14 -0500 Date: Wed, 25 Nov 2015 03:00:12 -0800 (PST) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Michal Hocko cc: Andrew Morton , Johannes Weiner , Vladimir Davydov , Vlastimil Babka , Mel Gorman , linux-mm@kvack.org, LKML , Michal Hocko Subject: Re: [PATCH 1/2] mm, vmscan: consider isolated pages in zone_reclaimable_pages In-Reply-To: <1448366100-11023-2-git-send-email-mhocko@kernel.org> Message-ID: References: <1448366100-11023-1-git-send-email-mhocko@kernel.org> <1448366100-11023-2-git-send-email-mhocko@kernel.org> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1104 Lines: 25 On Tue, 24 Nov 2015, Michal Hocko wrote: > From: Michal Hocko > > 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 > Signed-off-by: Michal Hocko Acked-by: David Rientjes -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/