The patch titled Subject: slab: replace smp_read_barrier_depends() with lockless_dereference() has been removed from the -mm tree. Its filename was slab-replace-smp_read_barrier_depends-with-lockless_dereference.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Pranith Kumar <bobby.prani@xxxxxxxxx> Subject: slab: replace smp_read_barrier_depends() with lockless_dereference() Recently lockless_dereference() was added which can be used in place of hard-coding smp_read_barrier_depends(). The following PATCH makes the change. Signed-off-by: Pranith Kumar <bobby.prani@xxxxxxxxx> Cc: "Paul E. McKenney" <paulmck@xxxxxxxxxx> Cc: Christoph Lameter <cl@xxxxxxxxx> Cc: Pekka Enberg <penberg@xxxxxxxxxx> Cc: David Rientjes <rientjes@xxxxxxxxxx> Cc: Joonsoo Kim <iamjoonsoo.kim@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/slab.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -puN mm/slab.h~slab-replace-smp_read_barrier_depends-with-lockless_dereference mm/slab.h --- a/mm/slab.h~slab-replace-smp_read_barrier_depends-with-lockless_dereference +++ a/mm/slab.h @@ -209,15 +209,15 @@ cache_from_memcg_idx(struct kmem_cache * rcu_read_lock(); params = rcu_dereference(s->memcg_params); - cachep = params->memcg_caches[idx]; - rcu_read_unlock(); /* * Make sure we will access the up-to-date value. The code updating * memcg_caches issues a write barrier to match this (see * memcg_register_cache()). */ - smp_read_barrier_depends(); + cachep = lockless_dereference(params->memcg_caches[idx]); + rcu_read_unlock(); + return cachep; } _ Patches currently in -mm which might be from bobby.prani@xxxxxxxxx are origin.patch linux-next.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html