lkml.org 
[lkml]   [2013]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] x86: Fix adjust_range_size_mask calling position

* Yinghai Lu <yinghai@kernel.org> wrote:

> Commit 8d57470d cause a kernel panic while setting mem=2G.
> [mem 0x00000000-0x000fffff] page 4k
> [mem 0x7fe00000-0x7fffffff] page 1G
> [mem 0x7c000000-0x7fdfffff] page 1G
> [mem 0x00100000-0x001fffff] page 4k
> [mem 0x00200000-0x7bffffff] page 2M
>
> for last entry is not what we want, we should have
> [mem 0x00200000-0x3fffffff] page 2M
> [mem 0x40000000-0x7bffffff] page 1G

What this changelog does not mention, why does the erroneous entry result
in a kernel panic? It looks like a valid range, so a crash is unexpected.

(This is worth explaining, even if the fix for that is in a separate
patch.)

Thanks,

Ingo


\
 
 \ /
  Last update: 2013-05-31 14:21    [W:3.861 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site