/proc/vmcore mmap() failure issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux