From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from koto.vergenet.net ([210.128.90.7]) by bombadil.infradead.org with esmtp (Exim 4.68 #1 (Red Hat Linux)) id 1JFnFq-0004il-Uf for kexec@lists.infradead.org; Fri, 18 Jan 2008 09:11:22 +0000 Date: Fri, 18 Jan 2008 18:11:09 +0900 From: Simon Horman Subject: Re: [PATCH -mm 1/2 -v2] kexec/i386: kexec page table code clean up - add arch_kimage Message-ID: <20080118091108.GD10957@verge.net.au> References: <1200377146.3505.50.camel@caritas-dev.intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1200377146.3505.50.camel@caritas-dev.intel.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: kexec-bounces@lists.infradead.org Errors-To: kexec-bounces+dwmw2=infradead.org+dwmw2=infradead.org@lists.infradead.org To: "Huang, Ying" Cc: Ian Campbell , kexec@lists.infradead.org, Magnus Damm , linux-kernel@vger.kernel.org, "Eric W. Biederman" , Andrew Morton , Vivek Goyal On Tue, Jan 15, 2008 at 02:05:46PM +0800, Huang, Ying wrote: > This patch add an architecture specific struct arch_kimage into struct > kimage. Three pointers to page table pages used by kexec are added to > struct arch_kimage. The page tables pages are dynamically allocated in > machine_kexec_prepare instead of statically from BSS segment. This > will save up to 20k memory when kexec image is not loaded. I like this idea a lot. Acked-by: Simon Horman > Signed-off-by: Huang Ying -- Horms _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756216AbYARJLc (ORCPT ); Fri, 18 Jan 2008 04:11:32 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758575AbYARJLP (ORCPT ); Fri, 18 Jan 2008 04:11:15 -0500 Received: from koto.vergenet.net ([210.128.90.7]:48801 "EHLO koto.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758399AbYARJLL (ORCPT ); Fri, 18 Jan 2008 04:11:11 -0500 Date: Fri, 18 Jan 2008 18:11:09 +0900 From: Simon Horman To: "Huang, Ying" Cc: "Eric W. Biederman" , Vivek Goyal , Andrew Morton , Ian Campbell , Magnus Damm , linux-kernel@vger.kernel.org, kexec@lists.infradead.org Subject: Re: [PATCH -mm 1/2 -v2] kexec/i386: kexec page table code clean up - add arch_kimage Message-ID: <20080118091108.GD10957@verge.net.au> References: <1200377146.3505.50.camel@caritas-dev.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1200377146.3505.50.camel@caritas-dev.intel.com> User-Agent: Mutt/1.5.17 (2007-12-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 15, 2008 at 02:05:46PM +0800, Huang, Ying wrote: > This patch add an architecture specific struct arch_kimage into struct > kimage. Three pointers to page table pages used by kexec are added to > struct arch_kimage. The page tables pages are dynamically allocated in > machine_kexec_prepare instead of statically from BSS segment. This > will save up to 20k memory when kexec image is not loaded. I like this idea a lot. Acked-by: Simon Horman > Signed-off-by: Huang Ying -- Horms