diff options
| author | Yanmin Zhang <yanmin.zhang@intel.com> | 2004-08-25 17:54:46 +0000 |
|---|---|---|
| committer | Tony Luck <tony.luck@intel.com> | 2004-08-25 17:54:46 +0000 |
| commit | 04362c4c457fe43c41bc8d4debba56273e6cdd8d (patch) | |
| tree | af6d74668ef5bceb44792f64775ff8d059167644 /include/linux | |
| parent | 65fd90f1492898e695a33ce4b164e02f157246e3 (diff) | |
[IA64] Fix boot problems when using "mem=" boot parameter.
My tiger-4 machine has 16GB memory. Kernel 2.6.8 fails to boot on it
when command line parameter mem=8G, and it also fails when mem being
set to other value, such as 7G, 10G.
Basically, in function efi_memmap_walk, md->num_pages might be decreased
if mem_limit is set, and then at the next time when efi_memmap_walk is
called, trim_top might trim the md again because of IA64_GRANULE_SIZE
alignment, then another md which is beyond mem_limit at the beginning
will be chosen, and its physical page number is larger than max_pfn. Then,
a BUG check is triggered.
Signed-off-by: Zhang Yanmin <yanmin.zhang@intel.com>
Signed-off-by: Yao Jun <junx.yao@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
