mm: remove PageAnonExclusive assertions in unuse_pte()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 12 Dec 2023 16:48:13 +0000 (16:48 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 29 Dec 2023 19:58:25 +0000 (11:58 -0800)
commit8d294a8c6393afbde59cf14a0e8413df4b206698
treeadaa0d9e3411fb9deb5a10318c625d585bef4730
parent96db66d9c8f3c1547325af01b1f328b85d6ee1b9
mm: remove PageAnonExclusive assertions in unuse_pte()

The page in question is either freshly allocated or known to be in
the swap cache; these assertions are not particularly useful.

Link: https://lkml.kernel.org/r/20231212164813.2540119-1-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/swapfile.c