@@ -1455,11 +1455,17 @@ static inline unsigned long mm_nr_pmds(struct
mm_struct *mm)
static inline void mm_inc_nr_pmds(struct mm_struct *mm)
{
atomic_long_inc(&mm->nr_pmds);
+ dump_stack();
+ printk(KERN_INFO "===> %s nr_pmds %ld\n", __func__,
+ atomic_long_read(&mm->nr_pmds));
}
static inline void mm_dec_nr_pmds(struct mm_struct *mm)
{
atomic_long_dec(&mm->nr_pmds);
+ dump_stack();
+ printk(KERN_INFO "===> %s nr_pmds %ld\n", __func__,
+ atomic_long_read(&mm->nr_pmds));
}
#endif
@@ -2809,6 +2809,7 @@ EXPORT_SYMBOL(vm_brk);
/* Release all mmaps. */
void exit_mmap(struct mm_struct *mm)
{
+ printk(KERN_INFO "===> %s exit_mmap enter\n", __func__);
struct mmu_gather tlb;
struct vm_area_struct *vma;
unsigned long nr_accounted = 0;