From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753168Ab1A1F5A (ORCPT ); Fri, 28 Jan 2011 00:57:00 -0500 Received: from fgwmail6.fujitsu.co.jp ([192.51.44.36]:46281 "EHLO fgwmail6.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751315Ab1A1F47 (ORCPT ); Fri, 28 Jan 2011 00:56:59 -0500 X-SecurityPolicyCheck-FJ: OK by FujitsuOutboundMailChecker v1.3.1 Date: Fri, 28 Jan 2011 14:50:35 +0900 From: KAMEZAWA Hiroyuki To: Daisuke Nishimura Cc: "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , "hannes@cmpxchg.org" , "balbir@linux.vnet.ibm.com" Subject: Re: [BUGFIX][PATCH 3/4] mecg: fix oom flag at THP charge Message-Id: <20110128145035.d20af975.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <20110128143912.66f60a22.nishimura@mxp.nes.nec.co.jp> References: <20110128122229.6a4c74a2.kamezawa.hiroyu@jp.fujitsu.com> <20110128122729.1f1c613e.kamezawa.hiroyu@jp.fujitsu.com> <20110128143912.66f60a22.nishimura@mxp.nes.nec.co.jp> Organization: FUJITSU Co. LTD. X-Mailer: Sylpheed 3.0.3 (GTK+ 2.10.14; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 28 Jan 2011 14:39:12 +0900 Daisuke Nishimura wrote: > On Fri, 28 Jan 2011 12:27:29 +0900 > KAMEZAWA Hiroyuki wrote: > > > > > Thanks to Johanns and Daisuke for suggestion. > > = > > Hugepage allocation shouldn't trigger oom. > > Allocation failure is not fatal. > > > > Orignal-patch-by: Johannes Weiner > > Signed-off-by: KAMEZAWA Hiroyuki > > IIUC, this patch isn't necessary because we don't go into oom > in "page_size > PAGE_SIZE" case after [2/4]. > But I think it's not so bad to show explicitly that we don't cause oom in > THP charge. > > Acked-by: Daisuke Nishimura > Thank you for clarification. -Kame From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail137.messagelabs.com (mail137.messagelabs.com [216.82.249.19]) by kanga.kvack.org (Postfix) with SMTP id 2151B8D0039 for ; Fri, 28 Jan 2011 00:57:02 -0500 (EST) Received: from m2.gw.fujitsu.co.jp (unknown [10.0.50.72]) by fgwmail6.fujitsu.co.jp (Postfix) with ESMTP id CB5FB3EE0B6 for ; Fri, 28 Jan 2011 14:56:58 +0900 (JST) Received: from smail (m2 [127.0.0.1]) by outgoing.m2.gw.fujitsu.co.jp (Postfix) with ESMTP id B39B945DE55 for ; Fri, 28 Jan 2011 14:56:58 +0900 (JST) Received: from s2.gw.fujitsu.co.jp (s2.gw.fujitsu.co.jp [10.0.50.92]) by m2.gw.fujitsu.co.jp (Postfix) with ESMTP id 9F48145DE4E for ; Fri, 28 Jan 2011 14:56:58 +0900 (JST) Received: from s2.gw.fujitsu.co.jp (localhost.localdomain [127.0.0.1]) by s2.gw.fujitsu.co.jp (Postfix) with ESMTP id 896041DB803E for ; Fri, 28 Jan 2011 14:56:58 +0900 (JST) Received: from m106.s.css.fujitsu.com (m106.s.css.fujitsu.com [10.249.87.106]) by s2.gw.fujitsu.co.jp (Postfix) with ESMTP id 533861DB803A for ; Fri, 28 Jan 2011 14:56:58 +0900 (JST) Date: Fri, 28 Jan 2011 14:50:35 +0900 From: KAMEZAWA Hiroyuki Subject: Re: [BUGFIX][PATCH 3/4] mecg: fix oom flag at THP charge Message-Id: <20110128145035.d20af975.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <20110128143912.66f60a22.nishimura@mxp.nes.nec.co.jp> References: <20110128122229.6a4c74a2.kamezawa.hiroyu@jp.fujitsu.com> <20110128122729.1f1c613e.kamezawa.hiroyu@jp.fujitsu.com> <20110128143912.66f60a22.nishimura@mxp.nes.nec.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org To: Daisuke Nishimura Cc: "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , "hannes@cmpxchg.org" , "balbir@linux.vnet.ibm.com" List-ID: On Fri, 28 Jan 2011 14:39:12 +0900 Daisuke Nishimura wrote: > On Fri, 28 Jan 2011 12:27:29 +0900 > KAMEZAWA Hiroyuki wrote: > > > > > Thanks to Johanns and Daisuke for suggestion. > > = > > Hugepage allocation shouldn't trigger oom. > > Allocation failure is not fatal. > > > > Orignal-patch-by: Johannes Weiner > > Signed-off-by: KAMEZAWA Hiroyuki > > IIUC, this patch isn't necessary because we don't go into oom > in "page_size > PAGE_SIZE" case after [2/4]. > But I think it's not so bad to show explicitly that we don't cause oom in > THP charge. > > Acked-by: Daisuke Nishimura > Thank you for clarification. -Kame -- 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/ . Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/ Don't email: email@kvack.org