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 from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to