diff options
Diffstat (limited to 'mm/ksm.c')
-rw-r--r-- | mm/ksm.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2430,6 +2430,9 @@ int ksm_madvise(struct vm_area_struct *vma, unsigned long start, | |||
2430 | VM_HUGETLB | VM_MIXEDMAP)) | 2430 | VM_HUGETLB | VM_MIXEDMAP)) |
2431 | return 0; /* just ignore the advice */ | 2431 | return 0; /* just ignore the advice */ |
2432 | 2432 | ||
2433 | if (vma_is_dax(vma)) | ||
2434 | return 0; | ||
2435 | |||
2433 | #ifdef VM_SAO | 2436 | #ifdef VM_SAO |
2434 | if (*vm_flags & VM_SAO) | 2437 | if (*vm_flags & VM_SAO) |
2435 | return 0; | 2438 | return 0; |