]> git.openfabrics.org - ~shefty/rdma-dev.git/blobdiff - include/linux/gfp.h
mm: allocate kernel pages to the right memcg
[~shefty/rdma-dev.git] / include / linux / gfp.h
index 643c9a6f7f344c490d831e95e61bc6bb6a798b07..0f615eb23d054a85ec832d0840ca305ecdb97b6f 100644 (file)
@@ -367,6 +367,9 @@ extern void free_pages(unsigned long addr, unsigned int order);
 extern void free_hot_cold_page(struct page *page, int cold);
 extern void free_hot_cold_page_list(struct list_head *list, int cold);
 
+extern void __free_memcg_kmem_pages(struct page *page, unsigned int order);
+extern void free_memcg_kmem_pages(unsigned long addr, unsigned int order);
+
 #define __free_page(page) __free_pages((page), 0)
 #define free_page(addr) free_pages((addr), 0)