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()
298 unsigned long totalpages = 0; in early_calculate_totalpages() local305 totalpages += pages; in early_calculate_totalpages()309 return totalpages; in early_calculate_totalpages()346 unsigned long totalpages = early_calculate_totalpages(); in find_zone_movable_pfns_for_nodes() local413 required_kernelcore = (totalpages * 100 * required_kernelcore_percent) / in find_zone_movable_pfns_for_nodes()416 required_movablecore = (totalpages * 100 * required_movablecore_percent) / in find_zone_movable_pfns_for_nodes()436 required_movablecore = min(totalpages, required_movablecore); in find_zone_movable_pfns_for_nodes()437 corepages = totalpages - required_movablecore; in find_zone_movable_pfns_for_nodes()446 if (!required_kernelcore || required_kernelcore >= totalpages) in find_zone_movable_pfns_for_nodes()1265 unsigned long realtotalpages = 0, totalpages = 0; in calculate_node_totalpages() local[all …]
37 On node 0 totalpages: 13097538 On node 1 totalpages: 13107239 On node 2 totalpages: 13107240 On node 3 totalpages: 131072
553 unsigned long totalpages = totalram_pages() + total_swap_pages; in proc_oom_score() local557 badness = oom_badness(task, totalpages); in proc_oom_score()564 points = (1000 + badness * 1000 / (long)totalpages) * 2 / 3; in proc_oom_score()