Lines Matching defs:workingset

145  * least (R - E) pages in the userspace workingset, the refaulting page
151 * distance, we assume the cache workingset is transitioning and put
152 * pressure on the current workingset.
166 * a different workingset; the existing workingset is thrashing in the
200 bool workingset)
205 eviction = (eviction << WORKINGSET_SHIFT) | workingset;
215 bool workingset;
217 workingset = entry & ((1UL << WORKINGSET_SHIFT) - 1);
227 *workingsetp = workingset;
261 * Fills in @lruvec, @token, @workingset with the values unpacked from shadow.
264 unsigned long *token, bool *workingset)
271 unpack_shadow(shadow, &memcg_id, &pgdat, token, workingset);
284 bool workingset;
293 recent = lru_gen_test_recent(shadow, type, &lruvec, &token, &workingset);
306 refs = (token & (BIT(LRU_REFS_WIDTH) - 1)) + workingset;
335 unsigned long *token, bool *workingset)
409 * recently evicted. Also fills in @workingset with the value unpacked from
413 * @workingset: where the workingset value unpacked from shadow should
418 bool workingset_test_recent(void *shadow, bool file, bool *workingset)
433 &eviction_lruvec, &eviction, workingset);
440 unpack_shadow(shadow, &memcgid, &pgdat, &eviction, workingset);
497 * Compare the distance to the existing workingset size. We
499 * all the memory was available to the workingset. Whether
500 * workingset competition needs to consider anon or not depends
536 bool workingset;
561 if (!workingset_test_recent(shadow, file, &workingset))
569 if (workingset) {
809 pr_info("workingset: timestamp_bits=%d max_order=%d bucket_order=%u\n",