Home
last modified time | relevance | path

Searched refs:totalpages (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/include/linux/
Doom.h49 unsigned long totalpages; member
101 unsigned long totalpages);
/linux-6.1.9/mm/
Doom_kill.c201 long oom_badness(struct task_struct *p, unsigned long totalpages) in oom_badness() argument
235 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()
Dpage_alloc.c7553 unsigned long realtotalpages = 0, totalpages = 0; in calculate_node_totalpages() local
7584 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() local
8024 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() local
8106 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 …]
/linux-6.1.9/Documentation/x86/x86_64/
Dfake-numa-for-cpusets.rst37 On node 0 totalpages: 130975
38 On node 1 totalpages: 131072
39 On node 2 totalpages: 131072
40 On node 3 totalpages: 131072
/linux-6.1.9/fs/proc/
Dbase.c552 unsigned long totalpages = totalram_pages() + total_swap_pages; in proc_oom_score() local
556 badness = oom_badness(task, totalpages); in proc_oom_score()
563 points = (1000 + badness * 1000 / (long)totalpages) * 2 / 3; in proc_oom_score()