From: Johannes Weiner<hannes@xxxxxxxxxxx>
Subject: vmscan: improve comment on mlocked page in reclaim
Signed-off-by: Johannes Weiner<hannes@xxxxxxxxxxx>
---
diff --git a/mm/vmscan.c b/mm/vmscan.c
index 674a78b..819fff7 100644
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -578,7 +578,10 @@ static enum page_references page_check_references(struct page *page,
if (sc->order> PAGE_ALLOC_COSTLY_ORDER)
return PAGEREF_RECLAIM;
- /* Mlock lost isolation race - let try_to_unmap() handle it */
+ /*
+ * Mlock lost the isolation race with us. Let try_to_unmap()
+ * move the page to the unevictable list.
+ */
if (vm_flags& VM_LOCKED)
return PAGEREF_RECLAIM;