Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3868939ybl; Mon, 27 Jan 2020 11:59:27 -0800 (PST) X-Google-Smtp-Source: APXvYqyn6e+bjrvzWxdn9uVHR83DkD33wwG3cLShUbb9iZ0GegnXokmJXp1Itu7V2w36+j71sO4U X-Received: by 2002:a05:6830:231d:: with SMTP id u29mr14337202ote.185.1580155167285; Mon, 27 Jan 2020 11:59:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580155167; cv=none; d=google.com; s=arc-20160816; b=N446XOYTGVhx54Zg4s4ZADLahfFI2jGSAy5eTI3hSj2fkKcFYtKOK7fAB9wp4GwqIf 7K5Jj95nXTRrSuT8R6A5qQCOehuGsYhbBpVumSAJIk1d25e8VIEc2I3JWccX2sif7jsp 9T4ELxaj3efE0q1d/MyUC2it03K+WMwlXmNO5S2SvOGXYi2hcQTXoubUtUEGw8rtMY5d 2ovNq3WU3fLm9klWpeuWNUuyfMH5tpfXBlVQ9S7xvNFvk7hJInQYddYT+XcPi/k9Ju2c JCqdi4xHf7s/S1yfyfc4UQR8Q+X5mhaBplX1y0oetulZpGb6eD/XOYsXYe4YS+rXMSub N3Gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=EZzvgi4yMPVQKUhMj7Olb8tiSRnfmF7vPcdIICLiNwk=; b=VXGSiL7IhYn3dYVOG+RVFiwEBh43eshbIWPaf9YFTfqRss41kXECShxujPI3l5qNpN uJlURIay9L54gTE9BnjwAjNS2S+0aFgNePgkDTgezP16UKsOnV9R1mVf86VNI0O4cwtX VSIG6YObUYWeBs3kKEW9vN3srhkVNuH+cLTOGA7HYvlI84nfUp+c+YViRZzhfZbUuwiS cuZB+IhOz10iIPZpysQFvtyrDnH1gUC8rh8CjPsPxErQkLOqYaG2lyaudGgpzHtZ4X7U aWiz6p0P46gchdloQRluFCL9iTm/t5vSerBagIpHw8kR8xiymaK+uD3j0NRBAByBMZYW RI7w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g126si3882839oib.105.2020.01.27.11.59.15; Mon, 27 Jan 2020 11:59:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726191AbgA0T5Z (ORCPT + 99 others); Mon, 27 Jan 2020 14:57:25 -0500 Received: from out30-133.freemail.mail.aliyun.com ([115.124.30.133]:54063 "EHLO out30-133.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725944AbgA0T5Z (ORCPT ); Mon, 27 Jan 2020 14:57:25 -0500 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R911e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01f04427;MF=yang.shi@linux.alibaba.com;NM=1;PH=DS;RN=4;SR=0;TI=SMTPD_---0TocxhF-_1580155041; Received: from US-143344MP.local(mailfrom:yang.shi@linux.alibaba.com fp:SMTPD_---0TocxhF-_1580155041) by smtp.aliyun-inc.com(127.0.0.1); Tue, 28 Jan 2020 03:57:22 +0800 Subject: Re: [PATCH] mm: mempolicy: use VM_BUG_ON_VMA in queue_pages_test_walk() To: Qian Cai Cc: akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org References: <1579068565-110432-1-git-send-email-yang.shi@linux.alibaba.com> <1221B3C6-6A3B-4427-92DD-25AD54FF6BB5@lca.pw> From: Yang Shi Message-ID: Date: Mon, 27 Jan 2020 11:57:17 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <1221B3C6-6A3B-4427-92DD-25AD54FF6BB5@lca.pw> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/27/20 10:17 AM, Qian Cai wrote: > >> On Jan 15, 2020, at 1:09 AM, Yang Shi 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.