[lkml]   [2009]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 1/2] x86: Sanity check the e820 against the SRAT table using e820 map only

* Yinghai Lu <> wrote:

> - e820ram = max_pfn - absent_pages_in_range(0, max_pfn);
> + e820ram = max_pfn - (e820_hole_size(0, max_pfn<<PAGE_SHIFT)>>PAGE_SHIFT);

btw., it would be nice to have a debug check that prints a warning
if the SRAT does not cover all RAM, or if it covers RAM that is not
present in the e820 map. Such a warning might alert us to double
check all the PXM settings in the SRAT and could uncover more quirks
like the above ...


 \ /
  Last update: 2009-05-11 11:41    [W:0.035 / U:17.932 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site