Messages in this thread | | | Date | Fri, 31 May 2013 13:34:41 +0200 | From | Ingo Molnar <> | Subject | Re: [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
| |