mm/vmstats: add thp_split_pud event for clarity
[linux-2.6-block.git] / mm / huge_memory.c
index d36b2af4d1bf4b6621974823f36c52dda405f181..8f037e256c5445577bc68e02fb94bd1d19ebe8db 100644 (file)
@@ -1828,7 +1828,7 @@ static void __split_huge_pud_locked(struct vm_area_struct *vma, pud_t *pud,
        VM_BUG_ON_VMA(vma->vm_end < haddr + HPAGE_PUD_SIZE, vma);
        VM_BUG_ON(!pud_trans_huge(*pud) && !pud_devmap(*pud));
 
-       count_vm_event(THP_SPLIT_PMD);
+       count_vm_event(THP_SPLIT_PUD);
 
        pudp_huge_clear_flush_notify(vma, haddr, pud);
 }