Lines Matching refs:mlock_count
245 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.
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
549 but events left mlock_count too low, so they were munlocked too early.