• Cliff Wickman's avatar
    [IA64] enable dumps to capture second page of kernel stack · 1df57c0c
    Cliff Wickman authored
    In SLES10 (2.6.16) crash dumping (in my experience, LKCD) is unable to
    capture the second page of the 2-page task/stack allocation.
    This is particularly troublesome for dump analysis, as the stack traceback
    cannot be done.
      (A similar convention is probably needed throughout the kernel to make
       kernel multi-page allocations detectable for dumping)
    
    Multi-page kernel allocations are represented by the single page structure
    associated with the first page of the allocation.  The page structures
    associated with the other pages are unintialized.
    
    If the dumper is selecting only kernel pages it has no way to identify
    any but the first page of the allocation.
    
    The fix is to make the task/stack allocation a compound page.
    Signed-off-by: default avatarCliff Wickman <cpw@sgi.com>
    Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
    1df57c0c
thread_info.h 3.96 KB