mm: account pmd page tables to the process
[linux-2.6-block.git] / include / linux / mm_types.h
index 20ff2105b56415c2f399958310cf0520533a6594..199a03aab8dc9c8053f74fd04b99e39a774aa6be 100644 (file)
@@ -363,7 +363,8 @@ struct mm_struct {
        pgd_t * pgd;
        atomic_t mm_users;                      /* How many users with user space? */
        atomic_t mm_count;                      /* How many references to "struct mm_struct" (users count as 1) */
-       atomic_long_t nr_ptes;                  /* Page table pages */
+       atomic_long_t nr_ptes;                  /* PTE page table pages */
+       atomic_long_t nr_pmds;                  /* PMD page table pages */
        int map_count;                          /* number of VMAs */
 
        spinlock_t page_table_lock;             /* Protects page tables and some counters */