Searched refs:vmpressure (Results 1 – 6 of 6) sorted by relevance
/linux-6.3-rc2/include/linux/ |
A D | vmpressure.h | 13 struct vmpressure { struct 33 extern void vmpressure(gfp_t gfp, struct mem_cgroup *memcg, bool tree, argument 37 extern void vmpressure_init(struct vmpressure *vmpr); 38 extern void vmpressure_cleanup(struct vmpressure *vmpr); 39 extern struct vmpressure *memcg_to_vmpressure(struct mem_cgroup *memcg); 40 extern struct mem_cgroup *vmpressure_to_memcg(struct vmpressure *vmpr); 47 static inline void vmpressure(gfp_t gfp, struct mem_cgroup *memcg, bool tree, in vmpressure() function
|
A D | memcontrol.h | 234 struct vmpressure vmpressure; member
|
/linux-6.3-rc2/mm/ |
A D | vmpressure.c | 72 return container_of(work, struct vmpressure, work); in work_to_vmpressure() 75 static struct vmpressure *vmpressure_parent(struct vmpressure *vmpr) in vmpressure_parent() 157 static bool vmpressure_event(struct vmpressure *vmpr, in vmpressure_event() 182 struct vmpressure *vmpr = work_to_vmpressure(work); in vmpressure_work_fn() 239 void vmpressure(gfp_t gfp, struct mem_cgroup *memcg, bool tree, in vmpressure() function 242 struct vmpressure *vmpr; in vmpressure() 343 vmpressure(gfp, memcg, true, vmpressure_win, 0); in vmpressure_prio() 369 struct vmpressure *vmpr = memcg_to_vmpressure(memcg); in vmpressure_register_event() 430 struct vmpressure *vmpr = memcg_to_vmpressure(memcg); in vmpressure_unregister_event() 451 void vmpressure_init(struct vmpressure *vmpr) in vmpressure_init() [all …]
|
A D | Makefile | 100 obj-$(CONFIG_MEMCG) += memcontrol.o vmpressure.o
|
A D | memcontrol.c | 239 struct vmpressure *memcg_to_vmpressure(struct mem_cgroup *memcg) in memcg_to_vmpressure() 243 return &memcg->vmpressure; in memcg_to_vmpressure() 246 struct mem_cgroup *vmpressure_to_memcg(struct vmpressure *vmpr) in vmpressure_to_memcg() 248 return container_of(vmpr, struct mem_cgroup, vmpressure); in vmpressure_to_memcg() 5309 vmpressure_init(&memcg->vmpressure); in mem_cgroup_alloc() 5474 vmpressure_cleanup(&memcg->vmpressure); in mem_cgroup_css_free()
|
A D | vmscan.c | 5346 vmpressure(sc->gfp_mask, memcg, false, sc->nr_scanned - scanned, in shrink_one() 6444 vmpressure(sc->gfp_mask, memcg, false, in shrink_node_memcgs() 6482 vmpressure(sc->gfp_mask, sc->target_mem_cgroup, true, in shrink_node()
|
Completed in 36 milliseconds