Searched refs:memcgid (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/mm/ |
D | workingset.c | 187 static void *pack_shadow(int memcgid, pg_data_t *pgdat, unsigned long eviction, in pack_shadow() argument 191 eviction = (eviction << MEM_CGROUP_ID_SHIFT) | memcgid; in pack_shadow() 202 int memcgid, nid; in unpack_shadow() local 209 memcgid = entry & ((1UL << MEM_CGROUP_ID_SHIFT) - 1); in unpack_shadow() 212 *memcgidp = memcgid; in unpack_shadow() 356 int memcgid; in workingset_eviction() local 368 memcgid = mem_cgroup_id(lruvec_memcg(lruvec)); in workingset_eviction() 372 return pack_shadow(memcgid, pgdat, eviction, in workingset_eviction() 398 int memcgid; in workingset_refault() local 406 unpack_shadow(shadow, &memcgid, &pgdat, &eviction, &workingset); in workingset_refault() [all …]
|