mm_flags_test
thp_enabled = !mm_flags_test(MMF_DISABLE_THP_COMPLETELY, mm);
if (mm_flags_test(MMF_MULTIPROCESS, p->mm)) {
mm_flags_test(MMF_VM_MERGE_ANY, mm) ? "yes" : "no");
if (likely(!mm_flags_test(MMF_HAS_PINNED, vma->vm_mm)))
if (mm_flags_test(MMF_DISABLE_THP_COMPLETELY, vma->vm_mm))
return mm_flags_test(MMF_DISABLE_THP_EXCEPT_ADVISED, vma->vm_mm);
if (mm_flags_test(MMF_VM_HUGEPAGE, oldmm))
if (mm_flags_test(MMF_VM_HUGEPAGE, mm))
if (mm_flags_test(MMF_VM_MERGEABLE, oldmm)) {
if (mm_flags_test(MMF_VM_MERGE_ANY, mm))
if (mm_flags_test(MMF_VM_MERGEABLE, mm))
if (!mm_flags_test(MMF_HAS_PINNED, vma->vm_mm))
if (!mm_flags_test(MMF_HAS_MDWE, current->mm))
if (unlikely(mm_flags_test(MMF_UNSTABLE, mm)))
first_uprobe = !mm_flags_test(MMF_HAS_UPROBES, mm);
} else if (mm_flags_test(MMF_HAS_UPROBES, mm)) {
mm_flags_test(MMF_HAS_UPROBES, vma->vm_mm))
if (!mm_flags_test(MMF_HAS_UPROBES, vma->vm_mm) ||
mm_flags_test(MMF_RECALC_UPROBES, vma->vm_mm))
if (mm_flags_test(MMF_HAS_UPROBES, oldmm)) {
if (!mm_flags_test(MMF_HAS_UPROBES, current->mm) &&
if (mm_flags_test(MMF_HAS_MDWE, current->mm))
if (mm_flags_test(MMF_HAS_MDWE_NO_INHERIT, current->mm))
if (mm_flags_test(MMF_DISABLE_THP_COMPLETELY, mm))
else if (mm_flags_test(MMF_DISABLE_THP_EXCEPT_ADVISED, mm))
error = !!mm_flags_test(MMF_VM_MERGE_ANY, me->mm);
if (!mm_flags_test(MMF_HAS_PINNED, mm))
if (mm_flags_test(MMF_TOPDOWN, current->mm) && !off_sub)
if (mm_flags_test(MMF_HUGE_ZERO_FOLIO, mm))
if (mm_flags_test(MMF_HUGE_ZERO_FOLIO, mm))
mm_flags_test(MMF_DISABLE_THP_COMPLETELY, mm);
if (!mm_flags_test(MMF_VM_HUGEPAGE, vma->vm_mm) &&
if (mm_flags_test(MMF_VM_MERGE_ANY, mm) &&
if (unlikely(!mm_flags_test(MMF_VM_MERGEABLE, mm)))
if (mm_flags_test(MMF_VM_MERGE_ANY, mm))
if (!mm_flags_test(MMF_VM_MERGEABLE, mm)) {
if (!mm_flags_test(MMF_VM_MERGE_ANY, mm))
if (!mm_flags_test(MMF_VM_MERGEABLE, mm))
if (mm_flags_test(MMF_VM_MERGE_ANY, mm))
if (!mm_flags_test(MMF_VM_MERGEABLE, mm)) {
if (mm_flags_test(MMF_TOPDOWN, current->mm))
if (!mm_flags_test(MMF_OOM_SKIP, mm))
if (!mm_flags_test(MMF_OOM_SKIP, mm) && !__oom_reap_task_mm(mm))
mm_flags_test(MMF_OOM_SKIP, p->mm) ||
if (mm_flags_test(MMF_OOM_SKIP, task->signal->oom_mm))
if (mm_flags_test(MMF_OOM_SKIP, mm)) {
mm_flags_test(MMF_OOM_SKIP, mm))
if (mm_flags_test(MMF_OOM_SKIP, mm)) {
if (mm_flags_test(MMF_OOM_SKIP, mm))
if (mm_flags_test(MMF_HAS_MDWE, current->mm))