linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: "Matthew Wilcox (Oracle)" <willy@infradead.org>
To: linux-mm@kvack.org, akpm@linux-foundation.org
Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Subject: [PATCH 2/4] fix mm-filemap-add-helper-for-finding-pages.patch
Date: Tue, 24 Nov 2020 04:15:05 +0000	[thread overview]
Message-ID: <20201124041507.28996-2-willy@infradead.org> (raw)
In-Reply-To: <20201124041507.28996-1-willy@infradead.org>

---
 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:
-- 
2.29.2



  reply	other threads:[~2020-11-24  4:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-24  4:15 [PATCH 1/4] mm: Support THPs in zero_user_segments Matthew Wilcox (Oracle)
2020-11-24  4:15 ` Matthew Wilcox (Oracle) [this message]
2020-11-24  4:15 ` [PATCH 3/4] fix mm-add-and-use-find_lock_entries.patch Matthew Wilcox (Oracle)
2020-11-24  4:15 ` [PATCH 4/4] fix mm-filemap-add-mapping_seek_hole_data.patch Matthew Wilcox (Oracle)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201124041507.28996-2-willy@infradead.org \
    --to=willy@infradead.org \
    --cc=akpm@linux-foundation.org \
    --cc=linux-mm@kvack.org \
    --subject='Re: [PATCH 2/4] fix mm-filemap-add-helper-for-finding-pages.patch' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
on how to clone and mirror all data and code used for this inbox