On Tue, 2018-12-25 at 18:44 +0800, Wenkuan Wang wrote:
For stable tree 3.16.y, as regarding the page set into PAGE_NONE, the PFN will be inverted, when reference it by pmd_page, it needs to be inverted again controlling by protnone_mask(pfn).
https://github.com/linux-test-project/ltp/blob/master/testcases/kernel/mem/t...
This LTP test case thp03 will get the kernel OOPS like bellow, and it could be reproduced every time.
[...]
After applying these patches:
thp03 1 TPASS : system didn't crash, pass.
[...]
Thank you very much for testing and tracking this down. I've queued up these patches for the next update.
Ben.