Home
last modified time | relevance | path

Searched refs:nodemask (Results 1 – 8 of 8) sorted by relevance

/mm/
Doom_kill.c132 struct mem_cgroup *memcg, const nodemask_t *nodemask) in oom_unkillable_task() argument
144 if (!has_intersects_mems_allowed(p, nodemask)) in oom_unkillable_task()
160 const nodemask_t *nodemask, unsigned long totalpages) in oom_badness() argument
165 if (oom_unkillable_task(p, memcg, nodemask)) in oom_badness()
235 if (oc->nodemask && in constrained_alloc()
236 !nodes_subset(node_states[N_MEMORY], *oc->nodemask)) { in constrained_alloc()
238 for_each_node_mask(nid, *oc->nodemask) in constrained_alloc()
245 high_zoneidx, oc->nodemask) in constrained_alloc()
269 if (oom_unkillable_task(task, NULL, oc->nodemask)) in oom_scan_process_thread()
324 points = oom_badness(p, NULL, oc->nodemask, totalpages); in select_bad_process()
[all …]
Dvmscan.c75 nodemask_t *nodemask; member
2545 gfp_zone(sc->gfp_mask), sc->nodemask) { in shrink_zones()
2751 nodemask_t *nodemask) in throttle_direct_reclaim() argument
2789 gfp_zone(gfp_mask), nodemask) { in throttle_direct_reclaim()
2835 gfp_t gfp_mask, nodemask_t *nodemask) in try_to_free_pages() argument
2842 .nodemask = nodemask, in try_to_free_pages()
2854 if (throttle_direct_reclaim(gfp_mask, zonelist, nodemask)) in try_to_free_pages()
Dpage_alloc.c1766 ac->nodemask) { in unreserve_highatomic_pageblock()
2582 ac->nodemask) { in get_page_from_freelist()
2772 .nodemask = ac->nodemask, in __alloc_pages_may_oom()
2920 ac->nodemask); in __perform_reclaim()
2991 ac->high_zoneidx, ac->nodemask) in wake_all_kswapds()
3108 if (!(alloc_flags & ALLOC_CPUSET) && !ac->nodemask) { in __alloc_pages_slowpath()
3255 struct zonelist *zonelist, nodemask_t *nodemask) in __alloc_pages_nodemask() argument
3264 .nodemask = nodemask, in __alloc_pages_nodemask()
3299 ac.nodemask ? : &cpuset_current_mems_allowed, in __alloc_pages_nodemask()
Dinternal.h171 nodemask_t *nodemask; member
Dhugetlb.c899 nodemask_t *nodemask; in dequeue_huge_page_vma() local
921 htlb_alloc_mask(h), &mpol, &nodemask); in dequeue_huge_page_vma()
924 MAX_NR_ZONES - 1, nodemask) { in dequeue_huge_page_vma()
1547 nodemask_t *nodemask; in __hugetlb_alloc_buddy_huge_page() local
1550 zl = huge_zonelist(vma, addr, gfp, &mpol, &nodemask); in __hugetlb_alloc_buddy_huge_page()
1552 page = __alloc_pages_nodemask(gfp, order, zl, nodemask); in __hugetlb_alloc_buddy_huge_page()
Dmempolicy.c1825 nodemask_t **nodemask) in huge_zonelist() argument
1830 *nodemask = NULL; /* assume !MPOL_BIND */ in huge_zonelist()
1838 *nodemask = &(*mpol)->v.nodes; in huge_zonelist()
Dcompaction.c1555 ac->nodemask) { in try_to_compact_pages()
Dmemcontrol.c1346 .nodemask = NULL, in mem_cgroup_out_of_memory()