[PATCH 0/2] move kmem_cache_free to common code.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is some initial work to make kmem_cache_free at least callable from
a common entry point. This will be useful in future work, like kmemcg-slab,
that needs to further change those callers in both slab and slub.

Patch1 is not really a dependency for 2, but it will be for the work I am doing
in kmemcg-slab, so I'm sending both patches for your appreciation.

Glauber Costa (2):
  slab: commonize slab_cache field in struct page
  slab: move kmem_cache_free to common code

 include/linux/mm_types.h |  7 ++-----
 mm/slab.c                | 13 +------------
 mm/slab.h                |  1 +
 mm/slab_common.c         | 17 +++++++++++++++++
 mm/slob.c                | 11 ++++-------
 mm/slub.c                | 29 +++++++++++++----------------
 6 files changed, 38 insertions(+), 40 deletions(-)

-- 
1.7.11.7

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]