kernel memory leak: freeing pagetables in vmfree_area_pages in vmalloc.c

From: alad@hss.hns.com
Date: Thu Jun 28 2001 - 05:01:21 EST


I was talking about this leak 2 days back but my mail ot lost..

----

we have in vfree --> vmfree_area_pages (calling) free_area_pmd (calling) free_area_pte (calling) free_page. The final free_page frees all the pages that are allocated to a memory region in vmalloc. Now where are we freeing pages that are allocated to page table themselves. For simplicity we can assume 2 level page tables (pgd == pmd)

Regards Amol

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jun 30 2001 - 21:00:18 EST