From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752813Ab2GRHh2 (ORCPT ); Wed, 18 Jul 2012 03:37:28 -0400 Received: from gate.crashing.org ([63.228.1.57]:39079 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752230Ab2GRHhU (ORCPT ); Wed, 18 Jul 2012 03:37:20 -0400 Message-ID: <1342595820.3669.71.camel@pasglop> Subject: Re: [PATCH] mm: setup pageblock_order before it's used by sparse From: Benjamin Herrenschmidt To: Jiang Liu Cc: Yinghai Lu , Andrew Morton , Mel Gorman , Tony Luck , Xishi Qiu , KAMEZAWA Hiroyuki , KOSAKI Motohiro , David Rientjes , Minchan Kim , Keping Chen , linux-mm@kvack.org, stable@vger.kernel.org, linux-kernel@vger.kernel.org, Jiang Liu , David Gibson , linuxppc-dev@lists.ozlabs.org Date: Wed, 18 Jul 2012 17:17:00 +1000 In-Reply-To: <4FF26726.8010904@huawei.com> References: <1341047274-5616-1-git-send-email-jiang.liu@huawei.com> <4FF100F0.9050501@huawei.com> <4FF25EFA.1080004@huawei.com> <4FF26726.8010904@huawei.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2012-07-03 at 11:29 +0800, Jiang Liu wrote: > OK, waiting response from PPC. If we could find some ways to set > HPAGE_SIZE > early on PPC too, we can setup pageblock_order in arch instead of > page_alloc.c > as early as possible. We could split our hugetlbpage_init() into two, with the bit that sets HPAGE_SHIFT called earlier if it's really an issue. Cheers, Ben. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx148.postini.com [74.125.245.148]) by kanga.kvack.org (Postfix) with SMTP id 9ACAD6B005A for ; Wed, 18 Jul 2012 03:17:22 -0400 (EDT) Message-ID: <1342595820.3669.71.camel@pasglop> Subject: Re: [PATCH] mm: setup pageblock_order before it's used by sparse From: Benjamin Herrenschmidt Date: Wed, 18 Jul 2012 17:17:00 +1000 In-Reply-To: <4FF26726.8010904@huawei.com> References: <1341047274-5616-1-git-send-email-jiang.liu@huawei.com> <4FF100F0.9050501@huawei.com> <4FF25EFA.1080004@huawei.com> <4FF26726.8010904@huawei.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Sender: owner-linux-mm@kvack.org List-ID: To: Jiang Liu Cc: Yinghai Lu , Andrew Morton , Mel Gorman , Tony Luck , Xishi Qiu , KAMEZAWA Hiroyuki , KOSAKI Motohiro , David Rientjes , Minchan Kim , Keping Chen , linux-mm@kvack.org, stable@vger.kernel.org, linux-kernel@vger.kernel.org, Jiang Liu , David Gibson , linuxppc-dev@lists.ozlabs.org On Tue, 2012-07-03 at 11:29 +0800, Jiang Liu wrote: > OK, waiting response from PPC. If we could find some ways to set > HPAGE_SIZE > early on PPC too, we can setup pageblock_order in arch instead of > page_alloc.c > as early as possible. We could split our hugetlbpage_init() into two, with the bit that sets HPAGE_SHIFT called earlier if it's really an issue. Cheers, Ben. -- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 7E66E2C035A for ; Wed, 18 Jul 2012 17:17:27 +1000 (EST) Message-ID: <1342595820.3669.71.camel@pasglop> Subject: Re: [PATCH] mm: setup pageblock_order before it's used by sparse From: Benjamin Herrenschmidt To: Jiang Liu Date: Wed, 18 Jul 2012 17:17:00 +1000 In-Reply-To: <4FF26726.8010904@huawei.com> References: <1341047274-5616-1-git-send-email-jiang.liu@huawei.com> <4FF100F0.9050501@huawei.com> <4FF25EFA.1080004@huawei.com> <4FF26726.8010904@huawei.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Cc: Tony Luck , linux-mm@kvack.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Minchan Kim , Keping Chen , Mel Gorman , KOSAKI Motohiro , David Rientjes , Xishi Qiu , Andrew Morton , David Gibson , Yinghai Lu , KAMEZAWA Hiroyuki , Jiang Liu List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2012-07-03 at 11:29 +0800, Jiang Liu wrote: > OK, waiting response from PPC. If we could find some ways to set > HPAGE_SIZE > early on PPC too, we can setup pageblock_order in arch instead of > page_alloc.c > as early as possible. We could split our hugetlbpage_init() into two, with the bit that sets HPAGE_SHIFT called earlier if it's really an issue. Cheers, Ben.