From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757031Ab1KVRAq (ORCPT ); Tue, 22 Nov 2011 12:00:46 -0500 Received: from mail-vx0-f174.google.com ([209.85.220.174]:47549 "EHLO mail-vx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753123Ab1KVRAp (ORCPT ); Tue, 22 Nov 2011 12:00:45 -0500 Date: Wed, 23 Nov 2011 02:00:37 +0900 From: Minchan Kim To: Mel Gorman Cc: Linux-MM , Andrea Arcangeli , Jan Kara , Andy Isaacson , Johannes Weiner , Rik van Riel , Nai Xia , LKML Subject: Re: [PATCH 2/7] mm: compaction: Use synchronous compaction for /proc/sys/vm/compact_memory Message-ID: <20111122170037.GB15253@barrios-laptop.redhat.com> References: <1321900608-27687-1-git-send-email-mgorman@suse.de> <1321900608-27687-3-git-send-email-mgorman@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1321900608-27687-3-git-send-email-mgorman@suse.de> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 21, 2011 at 06:36:43PM +0000, Mel Gorman wrote: > When asynchronous compaction was introduced, the > /proc/sys/vm/compact_memory handler should have been updated to always > use synchronous compaction. This did not happen so this patch addresses > it. The assumption is if a user writes to /proc/sys/vm/compact_memory, > they are willing for that process to stall. > > Signed-off-by: Mel Gorman > Reviewed-by: Andrea Arcangeli Reviewed-by: Minchan Kim -- Kind regards, Minchan Kim