Home
last modified time | relevance | path

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

/mm/
Doom_kill.c482 static void dump_oom_summary(struct oom_control *oc, struct task_struct *victim) in dump_oom_summary() argument
489 mem_cgroup_print_oom_context(oc->memcg, victim); in dump_oom_summary()
490 pr_cont(",task=%s,pid=%d,uid=%d\n", victim->comm, victim->pid, in dump_oom_summary()
491 from_kuid(&init_user_ns, task_uid(victim))); in dump_oom_summary()
912 static void __oom_kill_process(struct task_struct *victim, const char *message) in __oom_kill_process() argument
918 p = find_lock_task_mm(victim); in __oom_kill_process()
921 message, task_pid_nr(victim), victim->comm); in __oom_kill_process()
922 put_task_struct(victim); in __oom_kill_process()
924 } else if (victim != p) { in __oom_kill_process()
926 put_task_struct(victim); in __oom_kill_process()
[all …]
Dreadahead.c69 struct page *victim; in read_cache_pages_invalidate_pages() local
72 victim = lru_to_page(pages); in read_cache_pages_invalidate_pages()
73 list_del(&victim->lru); in read_cache_pages_invalidate_pages()
74 read_cache_pages_invalidate_page(mapping, victim); in read_cache_pages_invalidate_pages()
Dswap.c147 struct page *victim; in put_pages_list() local
149 victim = lru_to_page(pages); in put_pages_list()
150 list_del(&victim->lru); in put_pages_list()
151 put_page(victim); in put_pages_list()
Dswapfile.c2601 struct file *swap_file, *victim; in SYSCALL_DEFINE1() local
2618 victim = file_open_name(pathname, O_RDWR|O_LARGEFILE, 0); in SYSCALL_DEFINE1()
2619 err = PTR_ERR(victim); in SYSCALL_DEFINE1()
2620 if (IS_ERR(victim)) in SYSCALL_DEFINE1()
2623 mapping = victim->f_mapping; in SYSCALL_DEFINE1()
2774 filp_close(victim, NULL); in SYSCALL_DEFINE1()
Dmemcontrol.c1780 struct mem_cgroup *victim = NULL; in mem_cgroup_soft_reclaim() local
1792 victim = mem_cgroup_iter(root_memcg, victim, &reclaim); in mem_cgroup_soft_reclaim()
1793 if (!victim) { in mem_cgroup_soft_reclaim()
1815 total += mem_cgroup_shrink_node(victim, gfp_mask, false, in mem_cgroup_soft_reclaim()
1821 mem_cgroup_iter_break(root_memcg, victim); in mem_cgroup_soft_reclaim()
2094 struct mem_cgroup *mem_cgroup_get_oom_group(struct task_struct *victim, in mem_cgroup_get_oom_group() argument
2108 memcg = mem_cgroup_from_task(victim); in mem_cgroup_get_oom_group()
DKconfig451 Cleancache can be thought of as a page-granularity victim cache