Lines Matching defs:shadow
165 * slot of the evicted page. This is called a shadow entry.
167 * On cache misses for which there are shadow entries, an eligible
197 static void unpack_shadow(void *shadow, int *memcgidp, pg_data_t **pgdat,
200 unsigned long entry = xa_to_value(shadow);
250 * Returns a shadow entry to be stored in @page->mapping->i_pages in place
285 * @shadow: shadow entry of the evicted page
291 void workingset_refault(struct page *page, void *shadow)
306 unpack_shadow(shadow, &memcgid, &pgdat, &eviction, &workingset);
344 * special case: usually, shadow entries have a short lifetime
347 * nonresident_age to lap a shadow entry in the field, which
488 * create excessive amounts of shadow nodes. To keep a lid on this,
489 * track shadow nodes and reclaim them when they grow way past the
498 * Track non-empty nodes that contain only shadow entries;
531 * containing shadow entries. We don't need to keep more
532 * shadow entries than possible pages on the active list,
539 * Nodes might be sparsely populated, with only one shadow
541 * node for every eligible shadow entry, so compromise on a
546 * each, this will reclaim shadow entries when they consume
591 * the shadow node LRU under the i_pages lock and the
616 * The nodes should only contain one or more shadow entries,