[fixup] condense comment about folio reference
From: Usama Arif
Date: Wed Jul 01 2026 - 14:12:54 EST
Signed-off-by: Usama Arif <usama.arif@xxxxxxxxx>
---
mm/migrate_device.c | 12 ++----------
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/mm/migrate_device.c b/mm/migrate_device.c
index f5a5f699e98e..052167f9ad54 100644
--- a/mm/migrate_device.c
+++ b/mm/migrate_device.c
@@ -311,11 +311,7 @@ static int migrate_vma_collect_pmd(pmd_t *pmdp,
if (folio_test_large(folio)) {
int ret;
- /*
- * Keep the folio stable after dropping the PTE
- * lock. migrate_vma_split_folio() consumes this
- * reference.
- */
+ /* migrate_vma_split_folio() consumes this reference */
if (folio != fault_folio)
folio_get(folio);
lazy_mmu_mode_disable();
@@ -361,11 +357,7 @@ static int migrate_vma_collect_pmd(pmd_t *pmdp,
if (folio && folio_test_large(folio)) {
int ret;
- /*
- * Keep the folio stable after dropping the
- * PTE lock. migrate_vma_split_folio() consumes
- * this reference.
- */
+ /* migrate_vma_split_folio() consumes this reference */
if (folio != fault_folio)
folio_get(folio);
lazy_mmu_mode_disable();
--
2.53.0-Meta