/Linux-v4.19/mm/ |
D | oom_kill.c | 155 struct mem_cgroup *memcg, const nodemask_t *nodemask) in oom_unkillable_task() argument 167 if (!has_intersects_mems_allowed(p, nodemask)) in oom_unkillable_task() 204 const nodemask_t *nodemask, unsigned long totalpages) in oom_badness() argument 209 if (oom_unkillable_task(p, memcg, nodemask)) in oom_badness() 292 if (oc->nodemask && in constrained_alloc() 293 !nodes_subset(node_states[N_MEMORY], *oc->nodemask)) { in constrained_alloc() 295 for_each_node_mask(nid, *oc->nodemask) in constrained_alloc() 302 high_zoneidx, oc->nodemask) in constrained_alloc() 320 if (oom_unkillable_task(task, NULL, oc->nodemask)) in oom_evaluate_task() 344 points = oom_badness(task, NULL, oc->nodemask, oc->totalpages); in oom_evaluate_task() [all …]
|
D | page_alloc.c | 2294 ac->nodemask) { in unreserve_highatomic_pageblock() 3262 ac->nodemask) { in get_page_from_freelist() 3383 static void warn_alloc_show_mem(gfp_t gfp_mask, nodemask_t *nodemask) in warn_alloc_show_mem() argument 3403 show_mem(filter, nodemask); in warn_alloc_show_mem() 3406 void warn_alloc(gfp_t gfp_mask, nodemask_t *nodemask, const char *fmt, ...) in warn_alloc() argument 3421 nodemask_pr_args(nodemask)); in warn_alloc() 3427 warn_alloc_show_mem(gfp_mask, nodemask); in warn_alloc() 3456 .nodemask = ac->nodemask, in __alloc_pages_may_oom() 3691 ac->nodemask) { in should_compact_retry() 3770 ac->nodemask); in __perform_reclaim() [all …]
|
D | vmscan.c | 72 nodemask_t *nodemask; member 2920 sc->reclaim_idx, sc->nodemask) { in shrink_zones() 3054 sc->nodemask) { in do_try_to_free_pages() 3131 nodemask_t *nodemask) in throttle_direct_reclaim() argument 3169 gfp_zone(gfp_mask), nodemask) { in throttle_direct_reclaim() 3215 gfp_t gfp_mask, nodemask_t *nodemask) in try_to_free_pages() argument 3223 .nodemask = nodemask, in try_to_free_pages() 3243 if (throttle_direct_reclaim(sc.gfp_mask, zonelist, nodemask)) in try_to_free_pages()
|
D | hugetlb.c | 936 nodemask_t *nodemask; in dequeue_huge_page_vma() local 953 nid = huge_node(vma, address, gfp_mask, &mpol, &nodemask); in dequeue_huge_page_vma() 954 page = dequeue_huge_page_nodemask(h, gfp_mask, nid, nodemask); in dequeue_huge_page_vma() 1105 int nid, nodemask_t *nodemask) in alloc_gigantic_page() argument 1115 for_each_zone_zonelist_nodemask(zone, z, zonelist, gfp_zone(gfp_mask), nodemask) { in alloc_gigantic_page() 1149 int nid, nodemask_t *nodemask) { return NULL; } in alloc_gigantic_page() argument 1620 nodemask_t *nodemask; in alloc_buddy_huge_page_with_mpol() local 1622 nid = huge_node(vma, addr, gfp_mask, &mpol, &nodemask); in alloc_buddy_huge_page_with_mpol() 1623 page = alloc_surplus_huge_page(h, gfp_mask, nid, nodemask); in alloc_buddy_huge_page_with_mpol() 1675 nodemask_t *nodemask; in alloc_huge_page_vma() local [all …]
|
D | internal.h | 119 nodemask_t *nodemask; member
|
D | compaction.c | 1515 ac->nodemask) { in compaction_zonelist_suitable() 1765 ac->nodemask) { in try_to_compact_pages()
|
D | mempolicy.c | 1855 struct mempolicy **mpol, nodemask_t **nodemask) in huge_node() argument 1860 *nodemask = NULL; /* assume !MPOL_BIND */ in huge_node() 1868 *nodemask = &(*mpol)->v.nodes; in huge_node()
|
/Linux-v4.19/include/linux/ |
D | cpuset.h | 63 int cpuset_nodemask_valid_mems_allowed(nodemask_t *nodemask); 150 static inline void set_mems_allowed(nodemask_t nodemask) in set_mems_allowed() argument 157 current->mems_allowed = nodemask; in set_mems_allowed() 197 static inline int cpuset_nodemask_valid_mems_allowed(nodemask_t *nodemask) in cpuset_nodemask_valid_mems_allowed() argument 264 static inline void set_mems_allowed(nodemask_t nodemask) in set_mems_allowed() argument
|
D | nodemask.h | 152 #define node_isset(node, nodemask) test_bit((node), (nodemask).bits) argument 154 #define node_test_and_set(node, nodemask) \ argument 155 __node_test_and_set((node), &(nodemask)) 231 #define nodes_full(nodemask) __nodes_full(&(nodemask), MAX_NUMNODES) argument 237 #define nodes_weight(nodemask) __nodes_weight(&(nodemask), MAX_NUMNODES) argument
|
D | oom.h | 27 nodemask_t *nodemask; member 101 struct mem_cgroup *memcg, const nodemask_t *nodemask,
|
D | mempolicy.h | 151 struct mempolicy **mpol, nodemask_t **nodemask); 273 struct mempolicy **mpol, nodemask_t **nodemask) in huge_node() argument 276 *nodemask = NULL; in huge_node()
|
D | migrate.h | 35 int preferred_nid, nodemask_t *nodemask) in new_page_nodemask() argument 43 preferred_nid, nodemask); in new_page_nodemask() 54 preferred_nid, nodemask); in new_page_nodemask()
|
D | mmzone.h | 1024 #define for_each_zone_zonelist_nodemask(zone, z, zlist, highidx, nodemask) \ argument 1025 for (z = first_zones_zonelist(zlist, highidx, nodemask), zone = zonelist_zone(z); \ 1027 z = next_zones_zonelist(++z, highidx, nodemask), \ 1030 #define for_next_zone_zonelist_nodemask(zone, z, zlist, highidx, nodemask) \ argument 1033 z = next_zones_zonelist(++z, highidx, nodemask), \
|
D | gfp.h | 468 nodemask_t *nodemask);
|
D | mm.h | 1308 extern void show_free_areas(unsigned int flags, nodemask_t *nodemask); 2159 extern void show_mem(unsigned int flags, nodemask_t *nodemask); 2168 void warn_alloc(gfp_t gfp_mask, nodemask_t *nodemask, const char *fmt, ...);
|
/Linux-v4.19/lib/ |
D | show_mem.c | 12 void show_mem(unsigned int filter, nodemask_t *nodemask) in show_mem() argument 18 show_free_areas(filter, nodemask); in show_mem()
|
D | Makefile | 27 nmi_backtrace.o nodemask.o win_minmax.o
|
/Linux-v4.19/Documentation/admin-guide/mm/ |
D | numa_memory_policy.rst | 217 is always preferred by passing an empty nodemask with this 218 mode. If an empty nodemask is passed, the policy cannot use 251 This flag specifies that the nodemask passed by 257 nodemask (Bind, Interleave) is remapped to the new set of 270 3 is allowed from the user's nodemask, the "interleave" only 271 occurs over that node. If no nodes from the user's nodemask are 276 MPOL_PREFERRED policies that were created with an empty nodemask 280 This flag specifies that the nodemask passed 282 set of allowed nodes. The kernel stores the user-passed nodemask, 283 and if the allowed nodes changes, then that original nodemask will [all …]
|
/Linux-v4.19/kernel/ |
D | smp.c | 364 const struct cpumask *nodemask; in smp_call_function_any() local 373 nodemask = cpumask_of_node(cpu_to_node(cpu)); in smp_call_function_any() 374 for (cpu = cpumask_first_and(nodemask, mask); cpu < nr_cpu_ids; in smp_call_function_any() 375 cpu = cpumask_next_and(cpu, nodemask, mask)) { in smp_call_function_any()
|
/Linux-v4.19/Documentation/ |
D | memory-hotplug.txt | 475 - status_change_nid_normal is set node id when N_NORMAL_MEMORY of nodemask 476 is (will be) set/clear, if this is -1, then nodemask status is not changed. 477 - status_change_nid_high is set node id when N_HIGH_MEMORY of nodemask 478 is (will be) set/clear, if this is -1, then nodemask status is not changed. 479 - status_change_nid is set node id when N_MEMORY of nodemask is (will be) 481 node loses all memory. If this is -1, then nodemask status is not changed.
|
/Linux-v4.19/tools/perf/bench/ |
D | numa.c | 339 unsigned long nodemask; in bind_to_memnode() local 345 BUG_ON(g->p.nr_nodes > (int)sizeof(nodemask)*8); in bind_to_memnode() 346 nodemask = 1L << node; in bind_to_memnode() 348 ret = set_mempolicy(MPOL_BIND, &nodemask, sizeof(nodemask)*8); in bind_to_memnode() 349 dprintf("binding to node %d, mask: %016lx => %d\n", node, nodemask, ret); in bind_to_memnode()
|
/Linux-v4.19/arch/x86/mm/ |
D | numa.c | 320 static void __init numa_nodemask_from_meminfo(nodemask_t *nodemask, in numa_nodemask_from_meminfo() argument 328 node_set(mi->blk[i].nid, *nodemask); in numa_nodemask_from_meminfo()
|
/Linux-v4.19/kernel/irq/ |
D | manage.c | 397 const struct cpumask *nodemask = cpumask_of_node(node); in irq_setup_affinity() local 400 if (cpumask_intersects(&mask, nodemask)) in irq_setup_affinity() 401 cpumask_and(&mask, &mask, nodemask); in irq_setup_affinity()
|
/Linux-v4.19/Documentation/core-api/ |
D | printk-formats.rst | 429 bitmap and its derivatives such as cpumask and nodemask 437 For printing bitmap and its derivatives such as cpumask and nodemask,
|
/Linux-v4.19/drivers/tty/ |
D | sysrq.c | 373 .nodemask = NULL, in moom_callback()
|