Home
last modified time | relevance | path

Searched refs:mlock_count (Results 1 – 5 of 5) sorted by relevance

/linux/mm/
H A Dmlock.c88 folio->mlock_count++; in __mlock_folio()
95 folio->mlock_count = !!folio_test_mlocked(folio); in __mlock_folio()
114 folio->mlock_count = !!folio_test_mlocked(folio); in __mlock_new_folio()
135 if (folio->mlock_count) in __munlock_folio()
136 folio->mlock_count--; in __munlock_folio()
137 if (folio->mlock_count) in __munlock_folio()
H A Dswap.c196 folio->mlock_count = 0; in lru_add_fn()
H A Dhuge_memory.c2816 tail->mlock_count = 0; in lru_add_page_tail()
/linux/Documentation/mm/
H A Dunevictable-lru.rst245 idea of keeping mlock_count in Unevictable LRU list link field was revived and
322 __mlock_folio(). __mlock_folio() sets PG_unevictable, initializes mlock_count
324 mlock_count in place of LRU threading). Or if the page was already PG_lru
325 and PG_unevictable and PG_mlocked, it simply increments the mlock_count.
328 it may have been temporarily isolated from LRU. In such cases the mlock_count
383 folio's mlock_count, and when that reaches 0 it clears the mlocked flag
389 those cases its mlock_count field is unusable and must be assumed to be 0: so
495 folio's mlock_count, and when that reaches 0 it clears the mlocked flag
501 those cases its mlock_count field is unusable and must be assumed to be 0: so
522 and would not be counted out of mlock_count. In this rare case, a page may
[all …]
/linux/include/linux/
H A Dmm_types.h96 unsigned int mlock_count; member
336 unsigned int mlock_count; member