Re: [BUG] madvise05 leads kernel panic on 4.9.122

From: Yang Shi
Date: Tue Aug 21 2018 - 16:30:35 EST




On 8/21/18 11:43 AM, David Woodhouse wrote:
On Tue, 2018-08-21 at 11:37 -0700, Yang Shi wrote:
I just ran some regression test on stable 4.9.122 with LTP. madvise05
triggers the below kernel panic:

Thanks, David. It works. A silly question, I don't get why this commit could solve this issue, it looks just like a code refactor. Just because it changed how to get pfn from page table entries? And, this may cause some mismatch on 4.9 stable without it?


Please could you try 4.9.123-rc1, specifically this commit:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?h=linux-4.9.y&id=64fc89a2702e0e70e34ced0a270ef556242d5f26