From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752329AbcBBFmx (ORCPT ); Tue, 2 Feb 2016 00:42:53 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:54457 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750776AbcBBFmw (ORCPT ); Tue, 2 Feb 2016 00:42:52 -0500 Date: Mon, 1 Feb 2016 21:45:40 -0800 From: Andrew Morton To: Dmitry Safonov Cc: Minfei Huang , , , , , , <0x7f454c46@gmail.com>, , , Subject: Re: [PATCH] kexec: unmap reserved pages for each error-return way Message-Id: <20160201214540.c0b4b8c2.akpm@linux-foundation.org> In-Reply-To: <56A9D7F2.5000504@virtuozzo.com> References: <1453895311-11087-1-git-send-email-dsafonov@virtuozzo.com> <20160128062906.GA4170@dhcp-128-25.nay.redhat.com> <56A9D7F2.5000504@virtuozzo.com> X-Mailer: Sylpheed 2.7.1 (GTK+ 2.18.9; x86_64-redhat-linux-gnu) 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 Thu, 28 Jan 2016 11:57:22 +0300 Dmitry Safonov wrote: > On 01/28/2016 09:29 AM, Minfei Huang wrote: > > On 01/27/16 at 02:48pm, Dmitry Safonov wrote: > >> For allocation of kimage failure or kexec_prepare or load segments > >> errors there is no need to keep crashkernel memory mapped. > >> It will affect only s390 as map/unmap hook defined only for it. > >> As on unmap s390 also changes os_info structure let's check return code > >> and add info only on success. > > Hi, Dmitry. > > > > Previously, I sent a patch to fix this issue. You can refer it in > > following link. > > > > http://lists.infradead.org/pipermail/kexec/2015-July/013960.html > Oh, scratch my patch - I'm fine with yours, wanted to do the similar thing > because it has dazzled me while I was debugging around. There were a bunch of patches tossed around in that thread but I'm not sure that anything actually got applied? Perhaps some resending is needed. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 1 Feb 2016 21:45:40 -0800 From: Andrew Morton Subject: Re: [PATCH] kexec: unmap reserved pages for each error-return way Message-Id: <20160201214540.c0b4b8c2.akpm@linux-foundation.org> In-Reply-To: <56A9D7F2.5000504@virtuozzo.com> References: <1453895311-11087-1-git-send-email-dsafonov@virtuozzo.com> <20160128062906.GA4170@dhcp-128-25.nay.redhat.com> <56A9D7F2.5000504@virtuozzo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-Archive: List-Post: To: Dmitry Safonov Cc: Minfei Huang , linux-kernel@vger.kernel.org, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com, ebiederm@xmission.com, linux-s390@vger.kernel.org, 0x7f454c46@gmail.com, kexec@lists.infradead.org, holzheu@linux.vnet.ibm.com, dyoung@redhat.com List-ID: On Thu, 28 Jan 2016 11:57:22 +0300 Dmitry Safonov wrote: > On 01/28/2016 09:29 AM, Minfei Huang wrote: > > On 01/27/16 at 02:48pm, Dmitry Safonov wrote: > >> For allocation of kimage failure or kexec_prepare or load segments > >> errors there is no need to keep crashkernel memory mapped. > >> It will affect only s390 as map/unmap hook defined only for it. > >> As on unmap s390 also changes os_info structure let's check return code > >> and add info only on success. > > Hi, Dmitry. > > > > Previously, I sent a patch to fix this issue. You can refer it in > > following link. > > > > http://lists.infradead.org/pipermail/kexec/2015-July/013960.html > Oh, scratch my patch - I'm fine with yours, wanted to do the similar thing > because it has dazzled me while I was debugging around. There were a bunch of patches tossed around in that thread but I'm not sure that anything actually got applied? Perhaps some resending is needed. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.linuxfoundation.org ([140.211.169.12]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aQTkA-00008V-16 for kexec@lists.infradead.org; Tue, 02 Feb 2016 05:43:14 +0000 Date: Mon, 1 Feb 2016 21:45:40 -0800 From: Andrew Morton Subject: Re: [PATCH] kexec: unmap reserved pages for each error-return way Message-Id: <20160201214540.c0b4b8c2.akpm@linux-foundation.org> In-Reply-To: <56A9D7F2.5000504@virtuozzo.com> References: <1453895311-11087-1-git-send-email-dsafonov@virtuozzo.com> <20160128062906.GA4170@dhcp-128-25.nay.redhat.com> <56A9D7F2.5000504@virtuozzo.com> Mime-Version: 1.0 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=infradead.org@lists.infradead.org To: Dmitry Safonov Cc: linux-s390@vger.kernel.org, Minfei Huang , 0x7f454c46@gmail.com, heiko.carstens@de.ibm.com, linux-kernel@vger.kernel.org, ebiederm@xmission.com, schwidefsky@de.ibm.com, holzheu@linux.vnet.ibm.com, dyoung@redhat.com, kexec@lists.infradead.org On Thu, 28 Jan 2016 11:57:22 +0300 Dmitry Safonov wrote: > On 01/28/2016 09:29 AM, Minfei Huang wrote: > > On 01/27/16 at 02:48pm, Dmitry Safonov wrote: > >> For allocation of kimage failure or kexec_prepare or load segments > >> errors there is no need to keep crashkernel memory mapped. > >> It will affect only s390 as map/unmap hook defined only for it. > >> As on unmap s390 also changes os_info structure let's check return code > >> and add info only on success. > > Hi, Dmitry. > > > > Previously, I sent a patch to fix this issue. You can refer it in > > following link. > > > > http://lists.infradead.org/pipermail/kexec/2015-July/013960.html > Oh, scratch my patch - I'm fine with yours, wanted to do the similar thing > because it has dazzled me while I was debugging around. There were a bunch of patches tossed around in that thread but I'm not sure that anything actually got applied? Perhaps some resending is needed. _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec