Searched refs:victim (Results 1 – 6 of 6) sorted by relevance
/mm/ |
D | oom_kill.c | 482 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 …]
|
D | readahead.c | 69 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()
|
D | swap.c | 147 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()
|
D | swapfile.c | 2601 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()
|
D | memcontrol.c | 1780 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()
|
D | Kconfig | 451 Cleancache can be thought of as a page-granularity victim cache
|