Skip to contentSkip to conversation

+ memcg-un-export-__memcg_kmem_get_cache.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Apr 18, 2014

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Subject: + memcg-un-export-__memcg_kmem_get_cache.patch added to -mm tree
To: [email protected]
From: [email protected]
Date: Fri, 18 Apr 2014 13:09:16 -0700

The patch titled
Subject: memcg: un-export __memcg_kmem_get_cache
has been added to the -mm tree. Its filename is
memcg-un-export-__memcg_kmem_get_cache.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/memcg-un-export-__memcg_kmem_get_cache.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/memcg-un-export-__memcg_kmem_get_cache.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Vladimir Davydov <[email protected]>
Subject: memcg: un-export __memcg_kmem_get_cache

It is only used in slab and should not be used anywhere else so there is no need in exporting it.

---

 mm/memcontrol.c |    1 -
 1 file changed, 1 deletion(-)
mm/memcontrol.c renamed from mm/memcontrol.c~memcg-un-export-__memcg_kmem_get_cache +0 -1
diff -puN mm/memcontrol.c~memcg-un-export-__memcg_kmem_get_cache mm/memcontrol.c
@@ -3504,7 +3504,6 @@ out:
 	rcu_read_unlock();
 	return cachep;
 }
-EXPORT_SYMBOL(__memcg_kmem_get_cache);
 
 /*
  * We need to verify if the allocation against current->mm->owner's memcg is

_

Patches currently in -mm which might be from [email protected] are

slub-fix-memcg_propagate_slab_attrs.patch
slb-charge-slabs-to-kmemcg-explicitly.patch
mm-get-rid-of-__gfp_kmemcg.patch
mm-get-rid-of-__gfp_kmemcg-fix.patch
slab-document-kmalloc_order.patch
memcg-un-export-__memcg_kmem_get_cache.patch