Searched refs:totalpages (Results 1 – 5 of 5) sorted by relevance
49 unsigned long totalpages; member101 unsigned long totalpages);
201 long oom_badness(struct task_struct *p, unsigned long totalpages) in oom_badness() argument235 adj *= totalpages / 1000; in oom_badness()260 oc->totalpages = mem_cgroup_get_max(oc->memcg) ?: 1; in constrained_alloc()265 oc->totalpages = totalram_pages() + total_swap_pages; in constrained_alloc()287 oc->totalpages = total_swap_pages; in constrained_alloc()289 oc->totalpages += node_present_pages(nid); in constrained_alloc()300 oc->totalpages = total_swap_pages; in constrained_alloc()302 oc->totalpages += node_present_pages(nid); in constrained_alloc()341 points = oom_badness(task, oc->totalpages); in oom_evaluate_task()
7553 unsigned long realtotalpages = 0, totalpages = 0; in calculate_node_totalpages() local7584 totalpages += size; in calculate_node_totalpages()7588 pgdat->node_spanned_pages = totalpages; in calculate_node_totalpages()8017 unsigned long totalpages = 0; in early_calculate_totalpages() local8024 totalpages += pages; in early_calculate_totalpages()8028 return totalpages; in early_calculate_totalpages()8044 unsigned long totalpages = early_calculate_totalpages(); in find_zone_movable_pfns_for_nodes() local8106 required_kernelcore = (totalpages * 100 * required_kernelcore_percent) / in find_zone_movable_pfns_for_nodes()8109 required_movablecore = (totalpages * 100 * required_movablecore_percent) / in find_zone_movable_pfns_for_nodes()8129 required_movablecore = min(totalpages, required_movablecore); in find_zone_movable_pfns_for_nodes()[all …]
37 On node 0 totalpages: 13097538 On node 1 totalpages: 13107239 On node 2 totalpages: 13107240 On node 3 totalpages: 131072
552 unsigned long totalpages = totalram_pages() + total_swap_pages; in proc_oom_score() local556 badness = oom_badness(task, totalpages); in proc_oom_score()563 points = (1000 + badness * 1000 / (long)totalpages) * 2 / 3; in proc_oom_score()