Home
last modified time | relevance | path

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

/linux-6.6.21/mm/
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()
Dswap.c194 folio->mlock_count = 0; in lru_add_fn()
Dhuge_memory.c2398 tail->mlock_count = 0; in lru_add_page_tail()
/linux-6.6.21/Documentation/mm/
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
330 returns the page to "LRU". Races prohibit mlock_count from being set to 1 then:
332 mlock_count on the low side, so that when munlocked the page will be rescued to
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
415 before mlock_pte_range() reached it, it would get counted twice in mlock_count.
[all …]
/linux-6.6.21/include/linux/
Dmm_types.h98 unsigned int mlock_count; member
305 unsigned int mlock_count; member