lkml.org 
[lkml]   [2013]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: /proc/vmcore mmap() failure issue
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




\
 
 \ /
  Last update: 2013-11-14 00:01    [W:0.068 / U:0.768 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site