From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756704Ab1AaWwR (ORCPT ); Mon, 31 Jan 2011 17:52:17 -0500 Received: from mail-iw0-f174.google.com ([209.85.214.174]:45745 "EHLO mail-iw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756425Ab1AaWwP convert rfc822-to-8bit (ORCPT ); Mon, 31 Jan 2011 17:52:15 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Z/mfsIfpVH0zz9bx6lVw8rBYXy5/1lA7jTqcLGVzt1Bd2YGlcS2kgoMuMgFq1epcZi 1Fx8t8vFWW3Elr3pWh+KKtbW2EA5NkE0aDZvo/UYhykB0eR7aRGkUNfHEUXTymDmoZYB xYAFoDESdBM+gN36uVuBRYGrJ2Q7ee4q/2jiQ= MIME-Version: 1.0 In-Reply-To: <1296482635-13421-4-git-send-email-hannes@cmpxchg.org> References: <1296482635-13421-1-git-send-email-hannes@cmpxchg.org> <1296482635-13421-4-git-send-email-hannes@cmpxchg.org> Date: Tue, 1 Feb 2011 07:52:14 +0900 Message-ID: Subject: Re: [patch 3/3] memcg: never OOM when charging huge pages From: Minchan Kim To: Johannes Weiner Cc: akpm@linux-foundation.org, kamezawa.hiroyu@jp.fujitsu.com, nishimura@mxp.nes.nec.co.jp, balbir@linux.vnet.ibm.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 31, 2011 at 11:03 PM, Johannes Weiner wrote: > Huge page coverage should obviously have less priority than the > continued execution of a process. > > Never kill a process when charging it a huge page fails.  Instead, > give up after the first failed reclaim attempt and fall back to > regular pages. > > Signed-off-by: Johannes Weiner Reviewed-by: Minchan Kim -- Kind regards, Minchan Kim