Re: BUG_ON(!PageLocked(page)) in munlock_vma_page/migrate_pages/__block_write_begin

Dmitry Vyukov
2015-12-15T20:09:07Z

On Tue, Dec 15, 2015 at 8:42 PM, Johannes Weiner <hannes@cmpxchg.org> wrote:
> Hi Dmitry,
>
> On Tue, Dec 15, 2015 at 08:23:34PM +0100, Dmitry Vyukov wrote:
>>I am seeing lots of similar BUGs in different functions all pointing
>> to BUG_ON(!PageLocked(page)). I reproduced them on several recent
>> commits, including stock 6764e5ebd5c62236d082f9ae030674467d0b2779 (Dec
>> 9) with no changes on top and no KASAN/etc.
>
> This should be fixed in newer kernels with this commit:
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=dfd01f026058a59a513f8a365b439a0681b803af

Testing with this patch now. Thanks!