]> git.baikalelectronics.ru Git - kernel.git/commit
mm/khugepaged: use vma_is_anonymous
authorxu xin <xu.xin16@zte.com.cn>
Fri, 29 Apr 2022 21:36:58 +0000 (14:36 -0700)
committerakpm <akpm@linux-foundation.org>
Fri, 29 Apr 2022 21:36:58 +0000 (14:36 -0700)
commit2689baa08987d5db866bc3a38bf9dbd5f7cff34f
tree7fc1e782133bbe86fbe172a5ce2543842528595e
parent6b41119cffea227b47e7c6cd041f39f753c13dd2
mm/khugepaged: use vma_is_anonymous

Clean up the vma->vm_ops usage.  Use vma_is_anonymous instead of
vma->vm_ops to make it more understandable.

Link: https://lkml.kernel.org/r/20220424071642.3234971-1-xu.xin16@zte.com.cn
Signed-off-by: xu xin <xu.xin16@zte.com.cn>
Reviewed-by: Yang Shi <shy828301@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/khugepaged.c