From patchwork Tue Nov 24 04:15:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthew Wilcox X-Patchwork-Id: 11927029 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B665BC64E75 for ; Tue, 24 Nov 2020 04:15:15 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 2D09420857 for ; Tue, 24 Nov 2020 04:15:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="a6LVv1rh" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2D09420857 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id A6F886B0073; Mon, 23 Nov 2020 23:15:14 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 92C486B0071; Mon, 23 Nov 2020 23:15:14 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6BE296B0073; Mon, 23 Nov 2020 23:15:14 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0027.hostedemail.com [216.40.44.27]) by kanga.kvack.org (Postfix) with ESMTP id 3F3CC6B0070 for ; Mon, 23 Nov 2020 23:15:14 -0500 (EST) Received: from smtpin18.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id E4AA41EE6 for ; Tue, 24 Nov 2020 04:15:13 +0000 (UTC) X-FDA: 77517996906.18.pain69_5316f0f2736b Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin18.hostedemail.com (Postfix) with ESMTP id C4BB9100ED0DE for ; Tue, 24 Nov 2020 04:15:13 +0000 (UTC) X-HE-Tag: pain69_5316f0f2736b X-Filterd-Recvd-Size: 1980 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf49.hostedemail.com (Postfix) with ESMTP for ; Tue, 24 Nov 2020 04:15:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=o/EIXsm92EOGC4c9TKEog7qFg43164111Apvg3R18zw=; b=a6LVv1rhDeZEsgTB360TOKmELT RRDD6XNROQBKcg+MMu7mWMtWEOvvipH8cb4jMgU9WNlQSSQFYXzQlYTfK6lP1b0ccxsPToCDaPOWx n33HJOMIx3SSDfoMciOOBKU5kHhbjQpgBnZXk0Uk02ZWNuvf0PwuIDmHn6fg5LsptKAHKAWbl7txf SxbFIju+UYDKRN4VhqLkkixML+hGxRGXjzmK4n2jrB6wS2Z34tHfJ+w3+IkYYix5hvAOUN+JkN672 H+qlrkCHTS6FZQa1IIj6IOAfH/tJ2do3XoQ6X7dkJjFWYmakrv6L1EiH9vcZiXhCFCehxpREfPgDc ulngFxoA==; Received: from willy by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1khPjS-0007d6-2l; Tue, 24 Nov 2020 04:15:10 +0000 From: "Matthew Wilcox (Oracle)" To: linux-mm@kvack.org, akpm@linux-foundation.org Cc: "Matthew Wilcox (Oracle)" Subject: [PATCH 2/4] fix mm-filemap-add-helper-for-finding-pages.patch Date: Tue, 24 Nov 2020 04:15:05 +0000 Message-Id: <20201124041507.28996-2-willy@infradead.org> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20201124041507.28996-1-willy@infradead.org> References: <20201124041507.28996-1-willy@infradead.org> MIME-Version: 1.0 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: --- mm/filemap.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mm/filemap.c b/mm/filemap.c index 7c83ee17f756..f3b448431bd4 100644 --- a/mm/filemap.c +++ b/mm/filemap.c @@ -1858,7 +1858,6 @@ static inline struct page *find_get_entry(struct xa_state *xas, pgoff_t max, put_page(page); goto reset; } - VM_BUG_ON_PAGE(!thp_contains(page, xas->xa_index), page); return page; reset: