From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id C5BBFC4332F for ; Thu, 10 Feb 2022 06:00:30 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 5AF376B007D; Thu, 10 Feb 2022 01:00:30 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 55EA56B007E; Thu, 10 Feb 2022 01:00:30 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 473E96B0080; Thu, 10 Feb 2022 01:00:30 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0228.hostedemail.com [216.40.44.228]) by kanga.kvack.org (Postfix) with ESMTP id 347EC6B007D for ; Thu, 10 Feb 2022 01:00:30 -0500 (EST) Received: from smtpin29.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id DD810181D903F for ; Thu, 10 Feb 2022 06:00:29 +0000 (UTC) X-FDA: 79125820578.29.1A6D559 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) by imf01.hostedemail.com (Postfix) with ESMTP id 2E6CA40002 for ; Thu, 10 Feb 2022 06:00:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=Hjl1CRU9s7DZ5mGzK4LLqDC6P6AF2iBrXxK+kCLJLf8=; b=MTrqZl4aPZ5zNoCU/NZsOF2YuF yKaBxr2DdTlXx1JOZGR+9u79NIlnxQHV6J1NDtDxak2L0UpjR9qtQrwwEy3vzkBhNaKHzZbaFDn4Y +hmAyQ6+334fTotiJHqo1+ixFFdPA1BtrS+QRPBLOzGP412f4o/GpFLjXaTf9jPy6p8la6Y7FRMjM B28lFL/Vm8hVEDVl0eFJcUCv6JlmzEuyLJrNAnDT3PHYVdKtZcEmF0ARl+qMq9vYfzJdf5u9bIUVl ZfEHJNyqAKUn3k4pIWMeYuOPVKidD7zZHq0zL32O6esHb0dwvWz6M0mt0z3ZAx+9tPzWvFR+BIapA uhRw7Vsg==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1nI2VD-002jyA-O2; Thu, 10 Feb 2022 06:00:23 +0000 Date: Wed, 9 Feb 2022 22:00:23 -0800 From: Christoph Hellwig To: Alistair Popple Cc: kernel test robot , Andrew Morton , Linux Memory Management List Subject: Re: [linux-next:master] BUILD REGRESSION 10207e3a840b47b5eae573486a88fb6e29884f77 Message-ID: References: <62040d19.VuzxHXu6YHcwxBQ1%lkp@intel.com> <20220209113446.b8d3261e881e4780dd5f0dc7@linux-foundation.org> <2400639.Lmb4oXArpK@nvdebian> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2400639.Lmb4oXArpK@nvdebian> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Rspamd-Server: rspam11 X-Rspam-User: X-Stat-Signature: gghycazk6cboc8kcnie684owoe3yo5kx Authentication-Results: imf01.hostedemail.com; dkim=pass header.d=infradead.org header.s=bombadil.20210309 header.b=MTrqZl4a; dmarc=none; spf=none (imf01.hostedemail.com: domain of BATV+4801fb5fa93fa27e8109+6745+infradead.org+hch@bombadil.srs.infradead.org has no SPF policy when checking 198.137.202.133) smtp.mailfrom=BATV+4801fb5fa93fa27e8109+6745+infradead.org+hch@bombadil.srs.infradead.org X-Rspamd-Queue-Id: 2E6CA40002 X-HE-Tag: 1644472828-36997 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Thu, Feb 10, 2022 at 11:09:55AM +1100, Alistair Popple wrote: > Yes, that's the cause. The fix[1] from SeongJae looks correct. What's easier > for you - taking that fix or me posting a v3 of my series including that now? It isn't. Your patch uses migrate_vma_* for device coherent pages, so we need to build that code even if support for private pages is no enabled. The right fix is something like this: http://git.infradead.org/users/hch/misc.git/commitdiff/f22a8437b590f943cdde1d56b2de0ec214de79e4 I'll repost this as part of the series to redo the pgmap page refcounting.