]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - mm/page_alloc.c
mlock: count attempts to free mlocked page
[linux-2.6-omap-h63xx.git] / mm / page_alloc.c
index 5886586fde6ca7c4971bec788b688128e0206c66..cfbadad75d1d01f4a3aa2d180f82f95517322cc8 100644 (file)
@@ -454,6 +454,7 @@ static inline void __free_one_page(struct page *page,
 
 static inline int free_pages_check(struct page *page)
 {
+       free_page_mlock(page);
        if (unlikely(page_mapcount(page) |
                (page->mapping != NULL)  |
                (page_get_page_cgroup(page) != NULL) |