Commit 11697f25 authored by Chintan Pandya's avatar Chintan Pandya
Browse files

mm: page_alloc: Check if Poison pattern is set properly



While poisoning a page, there may be some code holding
reference to that page and trying to overwrite poison
pattern just before a page is set RO. This corruption
can be later caught while allocating the same page.

So, ensure that no race happened while poisoning the
page.

Change-Id: If81b3ede064ba9e3753bd327399cab78ac89c6ca
Signed-off-by: default avatarChintan Pandya <cpandya@codeaurora.org>
parent d0692e20
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment