diff options
author | Kirill A. Shutemov <kirill.shutemov@linux.intel.com> | 2015-09-10 00:39:35 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-10 22:29:01 +0200 |
commit | fb6dd5fa4165c4b82f1a11416c2fc192ae3a84e2 (patch) | |
tree | 0dae4e152583f047de37f625e6e1af9d51a40841 /arch | |
parent | mm: make sure all file VMAs have ->vm_ops set (diff) | |
download | linux-fb6dd5fa4165c4b82f1a11416c2fc192ae3a84e2.tar.xz linux-fb6dd5fa4165c4b82f1a11416c2fc192ae3a84e2.zip |
mm: use vma_is_anonymous() in create_huge_pmd() and wp_huge_pmd()
Let's use helper rather than direct check of vma->vm_ops to distinguish
anonymous VMA.
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Reviewed-by: Oleg Nesterov <oleg@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions