From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx1.redhat.com ([209.132.183.28]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h1oai-0002qC-D4 for kexec@lists.infradead.org; Thu, 07 Mar 2019 08:41:28 +0000 Subject: Re: [PATCH v2] makedumpfile: exclude pages that are logically offline References: <20181122100627.5189-1-david@redhat.com> <20181122100938.5567-1-david@redhat.com> <4AE2DC15AC0B8543882A74EA0D43DBEC03561800@BPXM09GP.gisp.nec.co.jp> From: David Hildenbrand Message-ID: <7c9d6d5c-d6cf-00a7-7f23-bf28cbb382af@redhat.com> Date: Thu, 7 Mar 2019 09:41:15 +0100 MIME-Version: 1.0 In-Reply-To: <4AE2DC15AC0B8543882A74EA0D43DBEC03561800@BPXM09GP.gisp.nec.co.jp> Content-Language: en-US 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: Kazuhito Hagio Cc: "linux-pm@vger.kernel.org" , "pv-drivers@vmware.com" , "linux-doc@vger.kernel.org" , kexec-ml , "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" , "xen-devel@lists.xenproject.org" , "linux-fsdevel@vger.kernel.org" , "devel@linuxdriverproject.org" On 27.11.18 17:32, Kazuhito Hagio wrote: >> Linux marks pages that are logically offline via a page flag (map count). >> Such pages e.g. include pages infated as part of a balloon driver or >> pages that were not actually onlined when onlining the whole section. >> >> While the hypervisor usually allows to read such inflated memory, we >> basically read and dump data that is completely irrelevant. Also, this >> might result in quite some overhead in the hypervisor. In addition, >> we saw some problems under Hyper-V, whereby we can crash the kernel by >> dumping, when reading memory of a partially onlined memory segment >> (for memory added by the Hyper-V balloon driver). >> >> Therefore, don't read and dump pages that are marked as being logically >> offline. >> >> Signed-off-by: David Hildenbrand > > Thanks for the v2 update. > I'm going to merge this patch after the kernel patches are merged > and it tests fine with the kernel. > > Kazu Hi Kazu, the patches are now upstream. Thanks! -- Thanks, David / dhildenb _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec