Home
last modified time | relevance | path

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

/Linux-v6.6/include/linux/
Doom.h49 unsigned long totalpages; member
101 unsigned long totalpages);
/Linux-v6.6/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()
Dmm_init.c298 unsigned long totalpages = 0; in early_calculate_totalpages() local
305 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() local
413 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 …]
/Linux-v6.6/Documentation/arch/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-v6.6/fs/proc/
Dbase.c553 unsigned long totalpages = totalram_pages() + total_swap_pages; in proc_oom_score() local
557 badness = oom_badness(task, totalpages); in proc_oom_score()
564 points = (1000 + badness * 1000 / (long)totalpages) * 2 / 3; in proc_oom_score()