Skip to content

Commit

Permalink
Do not search for a panic task in s390x dumpfiles that are marked as
Browse files Browse the repository at this point in the history
a "live dump".  Without the patch, an exhaustive, unnecessary, search
of all kernel stacks that looks for evidence of a system crash may
find an invalid reference in a task's kernel stack due to the common
zero-based user and kernel virtual address space ranges of the s390x,
causing the task to be mistakenly set as the "PANIC" task.
(holzheu@linux.vnet.ibm.com, anderson@redhat.com)
  • Loading branch information
Dave Anderson committed Aug 10, 2015
1 parent 8119552 commit a640cbb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions task.c
Original file line number Diff line number Diff line change
Expand Up @@ -6750,6 +6750,9 @@ get_dumpfile_panic_task(void)
} else if (LKCD_DUMPFILE())
return(get_lkcd_panic_task());

if (pc->flags2 & LIVE_DUMP)
return NO_TASK;

if (get_active_set())
return(get_active_set_panic_task());

Expand Down

0 comments on commit a640cbb

Please sign in to comment.