Re: [PATCH] mm: mempolicy: use VM_BUG_ON_VMA in queue_pages_test_walk()

From: Yang Shi
Date: Mon Jan 27 2020 - 14:57:27 EST




On 1/27/20 10:17 AM, Qian Cai wrote:

On Jan 15, 2020, at 1:09 AM, Yang Shi <yang.shi@xxxxxxxxxxxxxxxxx> wrote:

The VM_BUG_ON() is already used by queue_pages_test_walk(), it sounds
better to dump more debug information by using VM_BUG_ON_VMA() to help
debugging.
Whatâs the problem this is trying to resolve? Was there an existing bug would trigger this?

Dumping more information to help debugging. I don't run into related bug personally.