From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anton Vorontsov Subject: [PATCH 3/3] slab: Get rid of mem_cgroup_put_kmem_cache() Date: Mon, 30 Apr 2012 03:02:02 -0700 Message-ID: <20120430100202.GC28569@lizard> References: <20120430095918.GA13824@lizard> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <20120430095918.GA13824@lizard> Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Glauber Costa Cc: cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devel-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org, kamezawa.hiroyu-+CUm20s59erQFUHtdCDX3A@public.gmane.org, Michal Hocko , Johannes Weiner , Frederic Weisbecker , Greg Thelen , Suleiman Souhlal , John Stultz , linaro-kernel-cunTk1MwBs8s++Sfvej+rw@public.gmane.org, patches-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org The function is no longer used, so can be safely removed. Signed-off-by: Anton Vorontsov --- include/linux/slab_def.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/include/linux/slab_def.h b/include/linux/slab_def.h index 2d371ae..72ea626 100644 --- a/include/linux/slab_def.h +++ b/include/linux/slab_def.h @@ -232,12 +232,6 @@ kmem_cache_get_ref(struct kmem_cache *cachep) } static inline void -mem_cgroup_put_kmem_cache(struct kmem_cache *cachep) -{ - rcu_read_unlock(); -} - -static inline void mem_cgroup_kmem_cache_prepare_sleep(struct kmem_cache *cachep) { /* @@ -266,11 +260,6 @@ kmem_cache_drop_ref(struct kmem_cache *cachep) } static inline void -mem_cgroup_put_kmem_cache(struct kmem_cache *cachep) -{ -} - -static inline void mem_cgroup_kmem_cache_prepare_sleep(struct kmem_cache *cachep) { } -- 1.7.9.2 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx168.postini.com [74.125.245.168]) by kanga.kvack.org (Postfix) with SMTP id D56986B0081 for ; Mon, 30 Apr 2012 06:03:24 -0400 (EDT) Received: by dadq36 with SMTP id q36so3887109dad.8 for ; Mon, 30 Apr 2012 03:03:24 -0700 (PDT) Date: Mon, 30 Apr 2012 03:02:02 -0700 From: Anton Vorontsov Subject: [PATCH 3/3] slab: Get rid of mem_cgroup_put_kmem_cache() Message-ID: <20120430100202.GC28569@lizard> References: <20120430095918.GA13824@lizard> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20120430095918.GA13824@lizard> Sender: owner-linux-mm@kvack.org List-ID: To: Glauber Costa Cc: cgroups@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, devel@openvz.org, kamezawa.hiroyu@jp.fujitsu.com, Michal Hocko , Johannes Weiner , Frederic Weisbecker , Greg Thelen , Suleiman Souhlal , John Stultz , linaro-kernel@lists.linaro.org, patches@linaro.org The function is no longer used, so can be safely removed. Signed-off-by: Anton Vorontsov --- include/linux/slab_def.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/include/linux/slab_def.h b/include/linux/slab_def.h index 2d371ae..72ea626 100644 --- a/include/linux/slab_def.h +++ b/include/linux/slab_def.h @@ -232,12 +232,6 @@ kmem_cache_get_ref(struct kmem_cache *cachep) } static inline void -mem_cgroup_put_kmem_cache(struct kmem_cache *cachep) -{ - rcu_read_unlock(); -} - -static inline void mem_cgroup_kmem_cache_prepare_sleep(struct kmem_cache *cachep) { /* @@ -266,11 +260,6 @@ kmem_cache_drop_ref(struct kmem_cache *cachep) } static inline void -mem_cgroup_put_kmem_cache(struct kmem_cache *cachep) -{ -} - -static inline void mem_cgroup_kmem_cache_prepare_sleep(struct kmem_cache *cachep) { } -- 1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756103Ab2D3KD0 (ORCPT ); Mon, 30 Apr 2012 06:03:26 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:53972 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755935Ab2D3KDY (ORCPT ); Mon, 30 Apr 2012 06:03:24 -0400 Date: Mon, 30 Apr 2012 03:02:02 -0700 From: Anton Vorontsov To: Glauber Costa Cc: cgroups@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, devel@openvz.org, kamezawa.hiroyu@jp.fujitsu.com, Michal Hocko , Johannes Weiner , Frederic Weisbecker , Greg Thelen , Suleiman Souhlal , John Stultz , linaro-kernel@lists.linaro.org, patches@linaro.org Subject: [PATCH 3/3] slab: Get rid of mem_cgroup_put_kmem_cache() Message-ID: <20120430100202.GC28569@lizard> References: <20120430095918.GA13824@lizard> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20120430095918.GA13824@lizard> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The function is no longer used, so can be safely removed. Signed-off-by: Anton Vorontsov --- include/linux/slab_def.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/include/linux/slab_def.h b/include/linux/slab_def.h index 2d371ae..72ea626 100644 --- a/include/linux/slab_def.h +++ b/include/linux/slab_def.h @@ -232,12 +232,6 @@ kmem_cache_get_ref(struct kmem_cache *cachep) } static inline void -mem_cgroup_put_kmem_cache(struct kmem_cache *cachep) -{ - rcu_read_unlock(); -} - -static inline void mem_cgroup_kmem_cache_prepare_sleep(struct kmem_cache *cachep) { /* @@ -266,11 +260,6 @@ kmem_cache_drop_ref(struct kmem_cache *cachep) } static inline void -mem_cgroup_put_kmem_cache(struct kmem_cache *cachep) -{ -} - -static inline void mem_cgroup_kmem_cache_prepare_sleep(struct kmem_cache *cachep) { } -- 1.7.9.2