]> git.baikalelectronics.ru Git - kernel.git/commit
slab: replace smp_read_barrier_depends() with lockless_dereference()
authorPranith Kumar <bobby.prani@gmail.com>
Wed, 10 Dec 2014 23:42:28 +0000 (15:42 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Dec 2014 01:41:04 +0000 (17:41 -0800)
commit6cc2fd063a198e1d4ea0c4b5e77d09ac7ff1ddd0
tree69f8d7dcfde84ba42315db10862dfb197668b5bb
parent94caced7043277e9b1122792985c76e2f868a00c
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@gmail.com>
Cc: "Paul E. McKenney" <paulmck@us.ibm.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/slab.h