On 5/11/20 10:04 AM, Kirill A. Shutemov wrote:
- if (not_addressable) {
pr_err("%lldMB of physical memory is not addressable in the paging mode\n",
not_addressable >> 20);
if (!pgtable_l5_enabled())
pr_err("Consider enabling 5-level paging\n");
- }
Looks sane to me. Definitely good enough until we get the first bug reports from an end user about how they screwed this up in practice.
For the aggregate patch:
Reviewed-by: Dave Hansen dave.hansen@intel.com
BTW, it's a shame that 0day and friends can't find stuff like this. I have the feeling we have more bugs like this coming.