lkml.org 
[lkml]   [2011]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 1/1] x86: Exclude E820_RESERVED regions and memory holes above 4 GB from direct mapping.
    From
    Date
    On Thu, 2011-10-20 at 17:20 -0500, H. Peter Anvin wrote:
    > On 10/20/2011 02:15 PM, Jacob Shin wrote:
    > > On systems with very large memory (1 TB in our case), BIOS may report a
    > > reserved region or a hole in the E820 map, even above the 4 GB range. Exclude
    > > these from the direct mapping.
    >
    > > + if (ei->type == E820_RESERVED)
    > > + continue;
    >
    > This should probably be ei->type != E820_RAM or something similar. I
    > haven't looked yet, what does the < 4 GiB code do?

    Hm, okay, it calls e820_end_of_low_ram_pfn() which effectively is !=
    E820_RAM.

    I'll fix this, test, then resend.

    Thanks!

    -Jacob Shin
    Advanced Micro Devices, Inc.

    >
    > -hpa
    >
    >





    \
     
     \ /
      Last update: 2011-10-21 00:29    [W:4.766 / U:0.568 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site