Home
last modified time | relevance | path

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

/Linux-v5.15/mm/
Dhugetlb.c80 static int num_fault_mutexes; variable
3687 num_fault_mutexes = roundup_pow_of_two(8 * num_possible_cpus()); in hugetlb_init()
3689 num_fault_mutexes = 1; in hugetlb_init()
3692 kmalloc_array(num_fault_mutexes, sizeof(struct mutex), in hugetlb_init()
3696 for (i = 0; i < num_fault_mutexes; i++) in hugetlb_init()
5046 return hash & (num_fault_mutexes - 1); in hugetlb_fault_mutex_hash()