David Hildenbrand 3754137d26 fs/proc/task_mmu: fix pagemap flags with PMD THP entries on 32bit
Entries (including flags) are u64, even on 32bit.  So right now we are
cutting of the flags on 32bit.  This way, for example the cow selftest
complains about:

  # ./cow
  ...
  Bail Out! read and ioctl return unmatched results for populated: 0 1

Link: https://lkml.kernel.org/r/20241217195000.1734039-1-david@redhat.com
Fixes: 2c1f057e5be6 ("fs/proc/task_mmu: properly detect PM_MMAP_EXCLUSIVE per page of PMD-mapped THPs")
Signed-off-by: David Hildenbrand <david@redhat.com>
Cc: Oscar Salvador <osalvador@suse.de>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2024-12-30 17:59:08 -08:00
..
2024-11-05 17:12:28 -08:00
2022-10-03 14:21:45 -07:00
2024-11-18 10:30:29 -08:00
2023-01-19 09:24:28 +01:00
2024-09-17 01:11:20 -07:00
2024-11-27 08:11:46 -08:00
2022-10-10 11:24:19 -07:00
2022-10-03 14:21:45 -07:00
2024-09-03 21:15:46 -07:00
2024-10-16 21:56:59 +02:00
2023-10-30 09:14:19 -10:00
2022-10-03 14:21:45 -07:00
2022-10-03 14:21:45 -07:00