diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2024-08-21 22:34:39 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-09-04 07:15:45 +0300 |
commit | 99f86bbda31790f2ca0e365f02650585536929ab (patch) | |
tree | be14ec7c628a6aefb75a709119ae1f7e5a197038 /Documentation/mm/unevictable-lru.rst | |
parent | cb29e7941d5d57576392a52c08077ef327ec8e17 (diff) | |
download | linux-99f86bbda31790f2ca0e365f02650585536929ab.tar.xz |
mm: remove PageMlocked
This flag is now only used on folios, so we can remove all the page
accessors.
Link: https://lkml.kernel.org/r/20240821193445.2294269-7-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'Documentation/mm/unevictable-lru.rst')
-rw-r--r-- | Documentation/mm/unevictable-lru.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/mm/unevictable-lru.rst b/Documentation/mm/unevictable-lru.rst index 2feb2ed51ae2..255ef12a432b 100644 --- a/Documentation/mm/unevictable-lru.rst +++ b/Documentation/mm/unevictable-lru.rst @@ -253,8 +253,8 @@ Basic Management mlocked pages - pages mapped into a VM_LOCKED VMA - are a class of unevictable pages. When such a page has been "noticed" by the memory management subsystem, -the page is marked with the PG_mlocked flag. This can be manipulated using the -PageMlocked() functions. +the folio is marked with the PG_mlocked flag. This can be manipulated using +folio_set_mlocked() and folio_clear_mlocked() functions. A PG_mlocked page will be placed on the unevictable list when it is added to the LRU. Such pages can be "noticed" by memory management in several places: |