Return-Path: Received: from psmtp.com (na3sys010amx117.postini.com [74.125.245.117]) by kanga.kvack.org (Postfix) with SMTP id 6A3E76B0031 for ; Mon, 5 Aug 2013 14:46:04 -0400 (EDT) Date: Mon, 5 Aug 2013 14:45:59 -0400 From: Johannes Weiner Subject: Re: [PATCH 2/9] mm: zone_reclaim: compaction: scan all memory with /proc/sys/vm/compact_memory Message-ID: <20130805184559.GB1845@cmpxchg.org> References: <1375459596-30061-1-git-send-email-aarcange@redhat.com> <1375459596-30061-3-git-send-email-aarcange@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1375459596-30061-3-git-send-email-aarcange@redhat.com> Sender: owner-linux-mm@kvack.org List-ID: To: Andrea Arcangeli Cc: linux-mm@kvack.org, Johannes Weiner , Mel Gorman , Rik van Riel , Hugh Dickins , Richard Davies , Shaohua Li , Rafael Aquini , Andrew Morton , Hush Bensen On Fri, Aug 02, 2013 at 06:06:29PM +0200, Andrea Arcangeli wrote: > Reset the stats so /proc/sys/vm/compact_memory will scan all memory. > > Signed-off-by: Andrea Arcangeli > Reviewed-by: Rik van Riel > Acked-by: Rafael Aquini > Acked-by: Mel Gorman It somehow feels wrong that this operation should have a destructive side effect, rather than just ignore the cached info for the one run (like cc.ignore_skip_hint). But I don't really have a strong reason against it, so... Acked-by: Johannes Weiner -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org