Skip to content
  • Jan Beulich's avatar
    [PATCH] i386: adjustments to page table dump during oops (v4) · 28609f6e
    Jan Beulich authored
    
    
    - make the page table contents printing PAE capable
    - make sure the address stored in current->thread.cr2 is unmodified
      from what was read from CR2
    - don't call oops_may_print() multiple times, when one time suffices
    - print pte even in highpte case, as long as the pte page isn't in
      actually in high memory (which is specifically the case for all page
      tables covering kernel space)
    
    (Changes to v3: Use sizeof()*2 rather than the suggested sizeof()*4 for
    printing width, use fixed 16-nibble width for PAE, and also apply the
    max_low_pfn range check to the middle level lookup on PAE.)
    
    Signed-off-by: default avatarJan Beulich <jbeulich@novell.com>
    Signed-off-by: default avatarAndi Kleen <ak@suse.de>
    28609f6e