Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 19d32c5a authored by Prasad Sodagudi's avatar Prasad Sodagudi
Browse files

debug-pagealloc: Panic on pagealloc corruption



Instead of just printing warning on pagealloc corruption,
collect the device state for first pagealloc error.

Change-Id: I19fbc8c608acc623a68f9a686391a7ecd8437a4a
Signed-off-by: default avatarPrasad Sodagudi <psodagud@codeaurora.org>
parent 450bd44d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -81,6 +81,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();
}