Home
last modified time | relevance | path

Searched refs:MPOL_DEFAULT (Results 1 – 6 of 6) sorted by relevance

/linux/include/uapi/linux/
H A Dmempolicy.h20 MPOL_DEFAULT, enumerator
/linux/tools/testing/selftests/kvm/
H A Dguest_memfd_test.c108 kvm_mbind(mem, total_size, MPOL_DEFAULT, NULL, 0, 0); in test_mbind()
110 TEST_ASSERT(policy == MPOL_DEFAULT && !nodemask, in test_mbind()
112 MPOL_DEFAULT, policy, nodemask); in test_mbind()
/linux/mm/
H A Dmempolicy.c446 if (mode == MPOL_DEFAULT) { in mpol_new()
578 [MPOL_DEFAULT] = {
1219 *policy = pol == &default_policy ? MPOL_DEFAULT : in do_get_mempolicy()
1508 if (mode == MPOL_DEFAULT) in do_mbind()
3391 do_set_mempolicy(MPOL_DEFAULT, 0, NULL); in numa_default_policy()
3399 [MPOL_DEFAULT] = "default",
3477 case MPOL_DEFAULT: in mpol_parse_str()
3559 unsigned short mode = MPOL_DEFAULT; in mpol_to_str()
3571 case MPOL_DEFAULT: in mpol_to_str()
H A Dshmem.c1745 if (!mpol || mpol->mode == MPOL_DEFAULT) in shmem_show_mpol()
/linux/Documentation/admin-guide/mm/
H A Dnuma_memory_policy.rst175 Default Mode--MPOL_DEFAULT
177 MPOL_DEFAULT is converted to the NULL memory policy in all
179 removed when MPOL_DEFAULT is specified. As a result,
180 MPOL_DEFAULT means "fall back to the next most specific policy
/linux/tools/perf/bench/
H A Dnuma.c389 ret = set_mempolicy(MPOL_DEFAULT, NULL, g->p.nr_nodes-1); in mempol_restore()