Lines Matching +full:5 +full:mm
15 #include <linux/mm.h>
19 #include <linux/sched/mm.h>
98 gap_max = (task_size / 6) * 5; in mmap_base()
129 void arch_pick_mmap_layout(struct mm_struct *mm, struct rlimit *rlim_stack) in arch_pick_mmap_layout() argument
132 clear_bit(MMF_TOPDOWN, &mm->flags); in arch_pick_mmap_layout()
134 set_bit(MMF_TOPDOWN, &mm->flags); in arch_pick_mmap_layout()
136 arch_pick_mmap_base(&mm->mmap_base, &mm->mmap_legacy_base, in arch_pick_mmap_layout()
147 arch_pick_mmap_base(&mm->mmap_compat_base, &mm->mmap_compat_legacy_base, in arch_pick_mmap_layout()
155 struct mm_struct *mm = current->mm; in get_mmap_base() local
159 return is_legacy ? mm->mmap_compat_legacy_base in get_mmap_base()
160 : mm->mmap_compat_base; in get_mmap_base()
163 return is_legacy ? mm->mmap_legacy_base : mm->mmap_base; in get_mmap_base()
180 * On 64bit with 5-level page tables another sanity check is required
194 * With 5-level paging this request would be granted and result in a
204 * fails on a 4-level paging machine but succeeds on a 5-level paging