Home
last modified time | relevance | path

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

/mm/
Doom_kill.c440 static void dump_oom_summary(struct oom_control *oc, struct task_struct *victim) in dump_oom_summary() argument
447 mem_cgroup_print_oom_context(oc->memcg, victim); in dump_oom_summary()
448 pr_cont(",task=%s,pid=%d,uid=%d\n", victim->comm, victim->pid, in dump_oom_summary()
449 from_kuid(&init_user_ns, task_uid(victim))); in dump_oom_summary()
856 static void __oom_kill_process(struct task_struct *victim, const char *message) in __oom_kill_process() argument
862 p = find_lock_task_mm(victim); in __oom_kill_process()
864 put_task_struct(victim); in __oom_kill_process()
866 } else if (victim != p) { in __oom_kill_process()
868 put_task_struct(victim); in __oom_kill_process()
869 victim = p; in __oom_kill_process()
[all …]
Dreadahead.c67 struct page *victim; in read_cache_pages_invalidate_pages() local
70 victim = lru_to_page(pages); in read_cache_pages_invalidate_pages()
71 list_del(&victim->lru); in read_cache_pages_invalidate_pages()
72 read_cache_pages_invalidate_page(mapping, victim); in read_cache_pages_invalidate_pages()
Dswap.c129 struct page *victim; in put_pages_list() local
131 victim = lru_to_page(pages); in put_pages_list()
132 list_del(&victim->lru); in put_pages_list()
133 put_page(victim); in put_pages_list()
Dswapfile.c2521 struct file *swap_file, *victim; in SYSCALL_DEFINE1() local
2537 victim = file_open_name(pathname, O_RDWR|O_LARGEFILE, 0); in SYSCALL_DEFINE1()
2538 err = PTR_ERR(victim); in SYSCALL_DEFINE1()
2539 if (IS_ERR(victim)) in SYSCALL_DEFINE1()
2542 mapping = victim->f_mapping; in SYSCALL_DEFINE1()
2687 filp_close(victim, NULL); in SYSCALL_DEFINE1()
Dmemcontrol.c1701 struct mem_cgroup *victim = NULL; in mem_cgroup_soft_reclaim() local
1714 victim = mem_cgroup_iter(root_memcg, victim, &reclaim); in mem_cgroup_soft_reclaim()
1715 if (!victim) { in mem_cgroup_soft_reclaim()
1737 total += mem_cgroup_shrink_node(victim, gfp_mask, false, in mem_cgroup_soft_reclaim()
1743 mem_cgroup_iter_break(root_memcg, victim); in mem_cgroup_soft_reclaim()
2016 struct mem_cgroup *mem_cgroup_get_oom_group(struct task_struct *victim, in mem_cgroup_get_oom_group() argument
2030 memcg = mem_cgroup_from_task(victim); in mem_cgroup_get_oom_group()
DKconfig437 Cleancache can be thought of as a page-granularity victim cache