debug-pagealloc: Panic on pagealloc corruption
Instead of just printing warning on pagealloc corruption, collect the device state for first pagealloc error. CRs-Fixed: 1035111 Change-Id: I19fbc8c608acc623a68f9a686391a7ecd8437a4a Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
This commit is contained in:
parent
626caf4e54
commit
3864648a28
1 changed files with 1 additions and 0 deletions
|
@ -113,6 +113,7 @@ static void check_poison_mem(struct page *page,
|
|||
|
||||
print_hex_dump(KERN_ERR, "", DUMP_PREFIX_ADDRESS, 16, 1, start,
|
||||
end - start + 1, 1);
|
||||
BUG_ON(PANIC_CORRUPTION);
|
||||
dump_stack();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue