]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - mm/swap.c
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 72
[linux.git] / mm / swap.c
index 301ed4e04320588e66823b08e74a3000f379b7a9..7ede3eddc12ad9960ab72eaee0b719c321da92df 100644 (file)
--- a/mm/swap.c
+++ b/mm/swap.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  linux/mm/swap.c
  *
@@ -867,7 +868,7 @@ static void __pagevec_lru_add_fn(struct page *page, struct lruvec *lruvec,
        SetPageLRU(page);
        /*
         * Page becomes evictable in two ways:
-        * 1) Within LRU lock [munlock_vma_pages() and __munlock_pagevec()].
+        * 1) Within LRU lock [munlock_vma_page() and __munlock_pagevec()].
         * 2) Before acquiring LRU lock to put the page to correct LRU and then
         *   a) do PageLRU check with lock [check_move_unevictable_pages]
         *   b) do PageLRU check before lock [clear_page_mlock]