Home
last modified time | relevance | path

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

/linux-6.1.9/mm/
Dmlock.c88 page->mlock_count++; in __mlock_page()
95 page->mlock_count = !!PageMlocked(page); in __mlock_page()
114 page->mlock_count = !!PageMlocked(page); in __mlock_new_page()
135 if (page->mlock_count) in __munlock_page()
136 page->mlock_count--; in __munlock_page()
137 if (page->mlock_count) in __munlock_page()
Dswap.c223 folio->mlock_count = 0; in lru_add_fn()
Dhuge_memory.c2412 tail->mlock_count = 0; in lru_add_page_tail()
/linux-6.1.9/Documentation/mm/
Dunevictable-lru.rst242 idea of keeping mlock_count in Unevictable LRU list link field was revived and
319 __mlock_page(). __mlock_page() sets PageUnevictable, initializes mlock_count
321 mlock_count in place of LRU threading). Or if the page was already PageLRU
322 and PageUnevictable and PageMlocked, it simply increments the mlock_count.
325 it may have been temporarily isolated from LRU. In such cases the mlock_count
327 returns the page to "LRU". Races prohibit mlock_count from being set to 1 then:
329 mlock_count on the low side, so that when munlocked the page will be rescued to
380 mlock_count, and when that reaches 0 it clears PageMlocked and clears
385 those cases its mlock_count field is unusable and must be assumed to be 0: so
411 before mlock_pte_range() reached it, it would get counted twice in mlock_count.
[all …]
/linux-6.1.9/include/linux/
Dmm_types.h97 unsigned int mlock_count; member
288 unsigned int mlock_count; member