Dear Maintainer,
Actually i met a VM_BUG_ON_PAGE issue in centos7.4 some days ago.When the issue first happen,
i just can know that it happen in free_huge_page() when doing soft offline huge page.
But because page->mapping is set to null,i can not get any further information how the issue happen.
So i modified the code as the patch show,and apply the new code to our produce line and wait some time,
then the issue come again.And this time i can know the whole file path which trigger the issue by using
crash tool to get the inode、dentry and so on,that help me to find a way to reproduce the issue quite easily
and finally found the root cause and solve it.
I think if keep the page->mapping,we can even do the rmap to check more detail info too by using the crash tool to analyse the coredump.
So i think preservning the page state would more or less help to debug.
But if it is not so meaningful,just let it go. ^_^
Thank you for your time.
Best Regards