mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-31 14:23:49 +01:00
To cover pagemap paths scanning PMD entries, add assertions to check whether a device-private PMD entry has the correct pagemap information - the PM_SWAP bit must be on in the pagemap entry. Before that, we must assert through HMM_DMIRROR_SNAPSHOT snapshot that the leaf entry is at PMD level and not PTE level. Link: https://lore.kernel.org/[email protected] Signed-off-by: Dev Jain <[email protected]> Reviewed-by: Lorenzo Stoakes <[email protected]> Cc: Balbir Singh <[email protected]> Cc: David Hildenbrand (Arm) <[email protected]> Cc: Oscar Salvador (SUSE) <[email protected]> Signed-off-by: Andrew Morton <[email protected]>