mm/memory.c:zap_pte_range() print bad swap entry
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 15 Nov 2023 21:54:18 +0000 (13:54 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 7 Dec 2023 00:12:43 +0000 (16:12 -0800)
commit727d16f1993bcf46ee2888c13e3fc1463babed8d
treef47bdba23601b46d060fda6742f06e3852782ed5
parent187da0f8250aa94bd96266096aef6f694e0b4cd2
mm/memory.c:zap_pte_range() print bad swap entry

We have a report of this WARN() triggering.  Let's print the offending
swp_entry_t to help diagnosis.

Link: https://lkml.kernel.org/r/000000000000b0e576060a30ee3b@google.com
Cc: Muhammad Usama Anjum <usama.anjum@collabora.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/memory.c