memcg-do-not-account-memory-used-for-cache-creation.patch removed from -mm tree
Subsystems (2)
[email protected]
maintainerSubject: [merged] memcg-do-not-account-memory-used-for-cache-creation.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 09 Jul 2013 16:19:45 -0700
The patch titled
Subject: memcg: do not account memory used for cache creation
has been removed from the -mm tree. Its filename was
memcg-do-not-account-memory-used-for-cache-creation.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Glauber Costa <[email protected]>
Subject: memcg: do not account memory used for cache creation
The memory we used to hold the memcg arrays is currently accounted to the current memcg. But that creates a problem, because that memory can only be freed after the last user is gone. Our only way to know which is the last user, is to hook up to freeing time, but the fact that we still have some in flight kmallocs will prevent freeing to happen. I believe therefore to be just easier to account this memory as global overhead.
---
mm/memcontrol.c | 2 ++ 1 file changed, 2 insertions(+)
mm/memcontrol.c renamed from mm/memcontrol.c~memcg-do-not-account-memory-used-for-cache-creation +2 -0
@@ -5232,7 +5232,9 @@ static int memcg_propagate_kmem(struct mstatic_key_slow_inc (&memcg_kmem_enabled_key);mutex_lock (&set_limit_mutex); +memcg_stop_kmem_account (); ret =memcg_update_cache_sizes (memcg); +memcg_resume_kmem_account ();mutex_unlock (&set_limit_mutex); out:return ret;
_
Patches currently in -mm which might be from [email protected] are
origin.patch inode-convert-inode-lru-list-to-generic-lru-list-code-inode-move-inode-to-a-different-list-inside-lock.patch list_lru-per-node-list-infrastructure-fix.patch list_lru-per-node-list-infrastructure-fix-broken-lru_retry-behaviour.patch list_lru-remove-special-case-function-list_lru_dispose_all.patch xfs-convert-dquot-cache-lru-to-list_lru-fix-dquot-isolation-hang.patch list_lru-dynamically-adjust-node-arrays-super-fix-for-destroy-lrus.patch