From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from terminus.zytor.com ([2001:1868:205::10] helo=mail.zytor.com) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VgjBb-0007G4-3v for kexec@lists.infradead.org; Wed, 13 Nov 2013 22:45:23 +0000 Message-ID: <528400DD.3040003@zytor.com> Date: Wed, 13 Nov 2013 14:44:45 -0800 From: "H. Peter Anvin" MIME-Version: 1.0 Subject: Re: /proc/vmcore mmap() failure issue References: <20131113204130.GD7613@redhat.com> <20131113210432.GE7613@redhat.com> <5283EBCD.6070305@zytor.com> <20131113224104.GF7613@redhat.com> In-Reply-To: <20131113224104.GF7613@redhat.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" Errors-To: kexec-bounces+dwmw2=twosheds.infradead.org@lists.infradead.org To: Vivek Goyal Cc: Baoquan He , Kexec Mailing List , linux kernel mailing list , HATAYAMA Daisuke , "Eric W. Biederman" , Dave Young , WANG Chao On 11/13/2013 02:41 PM, Vivek Goyal wrote: > > Hi Peter, > > I noticed we seem to be trimming away partial pages in memblock. > > memblock_x86_fill() { > /* throw away partial pages */ > memblock_trim_memory(PAGE_SIZE); > } > > But not in e820 hence they show up in /proc/iomem. > Why does /proc/iomem matter? > How about something along the lines as below patch. This fixes my > /proc/vmcore mmap() issue. I'm not sure if what you're seeing is something that is better handled in userspace. -hpa _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec