[PATCH 4/5] mm: add __get_free_kmem_pages helper

2015-09-26 Thread Vladimir Davydov
Works exactly as __get_free_pages except it also tries to charge newly allocated pages to kmemcg. It will be used by the next patch. Signed-off-by: Vladimir Davydov --- include/linux/gfp.h | 1 + mm/page_alloc.c | 12 2 files changed, 13 insertions(+) diff --git

[PATCH 4/5] mm: add __get_free_kmem_pages helper

2015-09-26 Thread Vladimir Davydov
Works exactly as __get_free_pages except it also tries to charge newly allocated pages to kmemcg. It will be used by the next patch. Signed-off-by: Vladimir Davydov --- include/linux/gfp.h | 1 + mm/page_alloc.c | 12 2 files changed, 13 insertions(+)