From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755499Ab1FUDgO (ORCPT ); Mon, 20 Jun 2011 23:36:14 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42166 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753117Ab1FUDgN (ORCPT ); Mon, 20 Jun 2011 23:36:13 -0400 Message-ID: <4E0011A0.4070401@redhat.com> Date: Tue, 21 Jun 2011 11:36:00 +0800 From: Cong Wang User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Thunderbird/3.1.10 MIME-Version: 1.0 To: Eric B Munson CC: Rik van Riel , Mel Gorman , linux-kernel@vger.kernel.org, akpm@linux-foundation.org, Andrea Arcangeli , Johannes Weiner , KAMEZAWA Hiroyuki , linux-mm@kvack.org Subject: Re: [PATCH 1/3] mm: completely disable THP by transparent_hugepage=never References: <1308587683-2555-1-git-send-email-amwang@redhat.com> <20110620165844.GA9396@suse.de> <4DFF7E3B.1040404@redhat.com> <4DFF7F0A.8090604@redhat.com> <4DFF8106.8090702@redhat.com> <4DFF8327.1090203@redhat.com> <4DFF84BB.3050209@redhat.com> <20110620175859.GB9697@mgebm.net> In-Reply-To: <20110620175859.GB9697@mgebm.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 于 2011年06月21日 01:58, Eric B Munson 写道: > If memory is this scarce, why not set CONFIG_TRANSPARENT_HUGEPAGE=n and be done > with it? If the config option is enabled, the admin should be able to turn the > functionality back on if desired. If you really don't _ever_ want THP then > disable the config. > Unfortunately, changing .config is not always as easy as you said, for the kdump case, we use the same kernel binary with the normal kernel which certainly has to have THP enabled in .config. Thanks. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail144.messagelabs.com (mail144.messagelabs.com [216.82.254.51]) by kanga.kvack.org (Postfix) with SMTP id A69AE9000BD for ; Mon, 20 Jun 2011 23:36:09 -0400 (EDT) Message-ID: <4E0011A0.4070401@redhat.com> Date: Tue, 21 Jun 2011 11:36:00 +0800 From: Cong Wang MIME-Version: 1.0 Subject: Re: [PATCH 1/3] mm: completely disable THP by transparent_hugepage=never References: <1308587683-2555-1-git-send-email-amwang@redhat.com> <20110620165844.GA9396@suse.de> <4DFF7E3B.1040404@redhat.com> <4DFF7F0A.8090604@redhat.com> <4DFF8106.8090702@redhat.com> <4DFF8327.1090203@redhat.com> <4DFF84BB.3050209@redhat.com> <20110620175859.GB9697@mgebm.net> In-Reply-To: <20110620175859.GB9697@mgebm.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Sender: owner-linux-mm@kvack.org List-ID: To: Eric B Munson Cc: Rik van Riel , Mel Gorman , linux-kernel@vger.kernel.org, akpm@linux-foundation.org, Andrea Arcangeli , Johannes Weiner , KAMEZAWA Hiroyuki , linux-mm@kvack.org ao? 2011a1'06ae??21ae?JPY 01:58, Eric B Munson a??e??: > If memory is this scarce, why not set CONFIG_TRANSPARENT_HUGEPAGE=n and be done > with it? If the config option is enabled, the admin should be able to turn the > functionality back on if desired. If you really don't _ever_ want THP then > disable the config. > Unfortunately, changing .config is not always as easy as you said, for the kdump case, we use the same kernel binary with the normal kernel which certainly has to have THP enabled in .config. Thanks. -- 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 internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org