Home
last modified time | relevance | path

Searched refs:pol (Results 1 – 2 of 2) sorted by relevance

/mm/
Dmempolicy.c158 struct mempolicy *pol = p->mempolicy; in get_task_policy() local
161 if (pol) in get_task_policy()
162 return pol; in get_task_policy()
166 pol = &preferred_node_policy[node]; in get_task_policy()
168 if (pol->mode) in get_task_policy()
169 return pol; in get_task_policy()
176 int (*create)(struct mempolicy *pol, const nodemask_t *nodes);
177 void (*rebind)(struct mempolicy *pol, const nodemask_t *nodes);
180 static inline int mpol_store_user_nodemask(const struct mempolicy *pol) in mpol_store_user_nodemask() argument
182 return pol->flags & MPOL_MODE_FLAGS; in mpol_store_user_nodemask()
[all …]
Dmemory.c5036 struct mempolicy *pol; in ___handle_speculative_fault() local
5115 pol = __get_vma_policy(vmf.vma, address); in ___handle_speculative_fault()
5116 if (!pol) in ___handle_speculative_fault()
5117 pol = get_task_policy(current); in ___handle_speculative_fault()
5118 if (pol && pol->mode == MPOL_INTERLEAVE) { in ___handle_speculative_fault()