Searched refs:victim (Results 1 – 6 of 6) sorted by relevance
/mm/ |
D | oom_kill.c | 447 static void dump_oom_summary(struct oom_control *oc, struct task_struct *victim) in dump_oom_summary() argument 454 mem_cgroup_print_oom_context(oc->memcg, victim); in dump_oom_summary() 455 pr_cont(",task=%s,pid=%d,uid=%d\n", victim->comm, victim->pid, in dump_oom_summary() 456 from_kuid(&init_user_ns, task_uid(victim))); in dump_oom_summary() 893 static void __oom_kill_process(struct task_struct *victim, const char *message) in __oom_kill_process() argument 899 p = find_lock_task_mm(victim); in __oom_kill_process() 902 message, task_pid_nr(victim), victim->comm); in __oom_kill_process() 903 put_task_struct(victim); in __oom_kill_process() 905 } else if (victim != p) { in __oom_kill_process() 907 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 | 146 struct page *victim; in put_pages_list() local 148 victim = lru_to_page(pages); in put_pages_list() 149 list_del(&victim->lru); in put_pages_list() 150 put_page(victim); in put_pages_list()
|
D | swapfile.c | 2526 struct file *swap_file, *victim; in SYSCALL_DEFINE1() local 2542 victim = file_open_name(pathname, O_RDWR|O_LARGEFILE, 0); in SYSCALL_DEFINE1() 2543 err = PTR_ERR(victim); in SYSCALL_DEFINE1() 2544 if (IS_ERR(victim)) in SYSCALL_DEFINE1() 2547 mapping = victim->f_mapping; in SYSCALL_DEFINE1() 2695 filp_close(victim, NULL); in SYSCALL_DEFINE1()
|
D | memcontrol.c | 1669 struct mem_cgroup *victim = NULL; in mem_cgroup_soft_reclaim() local 1681 victim = mem_cgroup_iter(root_memcg, victim, &reclaim); in mem_cgroup_soft_reclaim() 1682 if (!victim) { in mem_cgroup_soft_reclaim() 1704 total += mem_cgroup_shrink_node(victim, gfp_mask, false, in mem_cgroup_soft_reclaim() 1710 mem_cgroup_iter_break(root_memcg, victim); in mem_cgroup_soft_reclaim() 1983 struct mem_cgroup *mem_cgroup_get_oom_group(struct task_struct *victim, in mem_cgroup_get_oom_group() argument 1997 memcg = mem_cgroup_from_task(victim); in mem_cgroup_get_oom_group()
|
D | Kconfig | 442 Cleancache can be thought of as a page-granularity victim cache
|