]> git.baikalelectronics.ru Git - kernel.git/commit
[IA64] enable dumps to capture second page of kernel stack
authorCliff Wickman <cpw@sgi.com>
Tue, 25 Apr 2006 15:47:48 +0000 (10:47 -0500)
committerTony Luck <tony.luck@intel.com>
Thu, 27 Apr 2006 21:31:16 +0000 (14:31 -0700)
commitf7dbdb5af1936d9b21a399176855c53874aefcf9
tree06a24df0fe9a149581d246aa547122b07dcb2dad
parent4a761605d9759c52ed3eca1e84564e2b69333911
[IA64] enable dumps to capture second page of kernel stack

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: Cliff Wickman <cpw@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
include/asm-ia64/thread_info.h