Home
last modified time | relevance | path

Searched refs:memcgid (Results 1 – 1 of 1) sorted by relevance

/kernel/linux/linux-5.10/mm/
Dworkingset.c185 static void *pack_shadow(int memcgid, pg_data_t *pgdat, unsigned long eviction, in pack_shadow() argument
190 eviction = (eviction << MEM_CGROUP_ID_SHIFT) | memcgid; in pack_shadow()
201 int memcgid, nid; in unpack_shadow() local
208 memcgid = entry & ((1UL << MEM_CGROUP_ID_SHIFT) - 1); in unpack_shadow()
211 *memcgidp = memcgid; in unpack_shadow()
258 int memcgid; in workingset_eviction() local
277 memcgid = mem_cgroup_id(lruvec_memcg(lruvec)); in workingset_eviction()
279 return pack_shadow(memcgid, pgdat, eviction, PageWorkingset(page)); in workingset_eviction()
304 int memcgid; in workingset_refault() local
306 unpack_shadow(shadow, &memcgid, &pgdat, &eviction, &workingset); in workingset_refault()
[all …]