Lines Matching defs:workingset

144  * least (R - E) pages in the userspace workingset, the refaulting page
150 * distance, we assume the cache workingset is transitioning and put
151 * pressure on the current workingset.
165 * a different workingset; the existing workingset is thrashing in the
199 bool workingset)
204 eviction = (eviction << WORKINGSET_SHIFT) | workingset;
214 bool workingset;
216 workingset = entry & ((1UL << WORKINGSET_SHIFT) - 1);
226 *workingsetp = workingset;
260 * Fills in @lruvec, @token, @workingset with the values unpacked from shadow.
263 unsigned long *token, bool *workingset)
270 unpack_shadow(shadow, &memcg_id, &pgdat, token, workingset);
283 bool workingset;
292 recent = lru_gen_test_recent(shadow, type, &lruvec, &token, &workingset);
305 refs = (token & (BIT(LRU_REFS_WIDTH) - 1)) + workingset;
334 unsigned long *token, bool *workingset)
417 * recently evicted. Also fills in @workingset with the value unpacked from
421 * @workingset: where the workingset value unpacked from shadow should
426 bool workingset_test_recent(void *shadow, bool file, bool *workingset)
438 return lru_gen_test_recent(shadow, file, &eviction_lruvec, &eviction, workingset);
440 unpack_shadow(shadow, &memcgid, &pgdat, &eviction, workingset);
493 * Compare the distance to the existing workingset size. We
495 * all the memory was available to the workingset. Whether
496 * workingset competition needs to consider anon or not depends
542 bool workingset;
578 if (!workingset_test_recent(shadow, file, &workingset))
597 if (workingset) {
863 pr_info("workingset: timestamp_bits=%d max_order=%d bucket_order=%u\n",