From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from moutng.kundenserver.de ([212.227.17.8]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Um4gp-0006e8-PB for kexec@lists.infradead.org; Mon, 10 Jun 2013 16:11:28 +0000 From: Arnd Bergmann Subject: Re: [PATCH] vmcore: disable mmap_vmcore() if CONFIG_MMU is not defined Date: Mon, 10 Jun 2013 18:10:37 +0200 References: <51B593C3.7030609@jp.fujitsu.com> In-Reply-To: <51B593C3.7030609@jp.fujitsu.com> MIME-Version: 1.0 Message-Id: <201306101810.37960.arnd@arndb.de> 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" Errors-To: kexec-bounces+dwmw2=twosheds.infradead.org@lists.infradead.org To: HATAYAMA Daisuke Cc: Andrew Morton , "kexec@lists.infradead.org" , "Eric W. Biederman" , Vivek Goyal , Linux Kernel Mailing List On Monday 10 June 2013, HATAYAMA Daisuke wrote: > Also, on no-MMU configuration, because we don't export buffer for ELF > note segment to user-space, we use vzalloc() to allocate the buffer. > Therefore, we use differnet functions to allocate the buffer for ELF > note segment. To avoid code duplication, introduce a helper > alloc_elfnotes_buf(). > > Reported-by: Amd Bergmann > Signed-off-by: HATAYAMA Daisuke Thanks Note that my name is Arnd not Amd, otherwise Acked-by: Arnd Bergmann _______________________________________________ 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 S1754092Ab3FJQKq (ORCPT ); Mon, 10 Jun 2013 12:10:46 -0400 Received: from moutng.kundenserver.de ([212.227.17.8]:55229 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751940Ab3FJQKp (ORCPT ); Mon, 10 Jun 2013 12:10:45 -0400 From: Arnd Bergmann To: HATAYAMA Daisuke Subject: Re: [PATCH] vmcore: disable mmap_vmcore() if CONFIG_MMU is not defined Date: Mon, 10 Jun 2013 18:10:37 +0200 User-Agent: KMail/1.12.2 (Linux/3.8.0-22-generic; KDE/4.3.2; x86_64; ; ) Cc: Vivek Goyal , "Eric W. Biederman" , Andrew Morton , "kexec@lists.infradead.org" , Linux Kernel Mailing List References: <51B593C3.7030609@jp.fujitsu.com> In-Reply-To: <51B593C3.7030609@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit Message-Id: <201306101810.37960.arnd@arndb.de> X-Provags-ID: V02:K0:SdmIYSzDw0HqDoInj9TxwixTRznlgQUcpk7m1JIlGGz TMnzQuqo9hxpAmZDpABNcWC76VfZgBQjKwybIwTvv2joi5Al8F m4UpMkgx+rTNP9XRbHLe3/U/jydahFFdnQM1sr+Zm8Y71FCi/p eBrMQihfHlp5oPTFRcuVyC1reG3mZRYxTysHQLyb7cP30JMspA el0iNz/TLD7cbVD8dIhOeFyyoVCRWjF1+iO2asjknnAXCFnlh6 SxCBKRiLFKtqx32zT8lrxyqUJsxJVzdvAzD2R6hyHNYK42MoOV SSSt0i9mLIoTpbfpeeVPvatkdRutrNbBl7tglDfplhhUp2Qm+X rTnMEQZ2ZCkiBgHCS/0c= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Monday 10 June 2013, HATAYAMA Daisuke wrote: > Also, on no-MMU configuration, because we don't export buffer for ELF > note segment to user-space, we use vzalloc() to allocate the buffer. > Therefore, we use differnet functions to allocate the buffer for ELF > note segment. To avoid code duplication, introduce a helper > alloc_elfnotes_buf(). > > Reported-by: Amd Bergmann > Signed-off-by: HATAYAMA Daisuke Thanks Note that my name is Arnd not Amd, otherwise Acked-by: Arnd Bergmann