From: Andrew Morton Date: Thu, 23 Jun 2022 00:02:45 +0000 (-0700) Subject: mm-thp-kill-transparent_hugepage_active-fix-fix X-Git-Tag: maple_v12_fixes~91 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=772ea84719d6766db94ae562a0626c150968b039;p=users%2Fjedix%2Flinux-maple.git mm-thp-kill-transparent_hugepage_active-fix-fix add comment to vdso check Cc: Kirill A. Shutemov Cc: Matthew Wilcox Cc: Miaohe Lin Cc: Vlastimil Babka Cc: Yang Shi Cc: Zach O'Keefe Signed-off-by: Andrew Morton --- diff --git a/mm/huge_memory.c b/mm/huge_memory.c index fbe02815c41a8..dcb8590aeeb24 100644 --- a/mm/huge_memory.c +++ b/mm/huge_memory.c @@ -73,7 +73,7 @@ bool hugepage_vma_check(struct vm_area_struct *vma, unsigned long vm_flags, bool smaps) { - if (!vma->vm_mm) + if (!vma->vm_mm) /* vdso */ return false; if (!transhuge_vma_enabled(vma, vm_flags))