Searched refs:mlock_count (Results 1 – 5 of 5) sorted by relevance
88 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()
223 folio->mlock_count = 0; in lru_add_fn()
2412 tail->mlock_count = 0; in lru_add_page_tail()
242 idea of keeping mlock_count in Unevictable LRU list link field was revived and319 __mlock_page(). __mlock_page() sets PageUnevictable, initializes mlock_count321 mlock_count in place of LRU threading). Or if the page was already PageLRU322 and PageUnevictable and PageMlocked, it simply increments the mlock_count.325 it may have been temporarily isolated from LRU. In such cases the mlock_count327 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 to380 mlock_count, and when that reaches 0 it clears PageMlocked and clears385 those cases its mlock_count field is unusable and must be assumed to be 0: so411 before mlock_pte_range() reached it, it would get counted twice in mlock_count.[all …]
97 unsigned int mlock_count; member288 unsigned int mlock_count; member