mm-kmem-remove-redundant-checks-from-get_obj_cgroup_from_current.patch removed from -mm tree
The patch titled
Subject: mm: kmem: remove redundant checks from get_obj_cgroup_from_current()
has been removed from the -mm tree. Its filename was
mm-kmem-remove-redundant-checks-from-get_obj_cgroup_from_current.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Roman Gushchin <[email protected]>
Subject: mm: kmem: remove redundant checks from get_obj_cgroup_from_current()
There are checks for current->mm and current->active_memcg in get_obj_cgroup_from_current(), but these checks are redundant:memcg_kmem_bypass() called just above performs same checks.
---
mm/memcontrol.c | 3 --- 1 file changed, 3 deletions(-)
mm/memcontrol.c renamed from mm/memcontrol.c~mm-kmem-remove-redundant-checks-from-get_obj_cgroup_from_current +0 -3
@@ -2939,9 +2939,6 @@ __always_inline struct obj_cgroup *get_oif (memcg_kmem_bypass ())return NULL ; -if (unlikely (!current->mm && !current->active_memcg)) -return NULL ; -rcu_read_lock ();if (unlikely (current->active_memcg)) memcg =rcu_dereference (current->active_memcg);
_
Patches currently in -mm which might be from [email protected] are
mm-vmstat-fix-proc-sys-vm-stat_refresh-generating-false-warnings.patch mm-vmstat-fix-proc-sys-vm-stat_refresh-generating-false-warnings-fix.patch