mm/vmalloc.c: fix memory ordering bug
authorDmitry Vyukov <dvyukov@google.com>
Sat, 13 Dec 2014 00:56:30 +0000 (16:56 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 13 Dec 2014 20:42:49 +0000 (12:42 -0800)
commit7e5b528b4ce31208ef5c240c14beec4853d8262c
treed42f428802ade412a8c3c6ec5271a9e29c68c806
parent6a2d5679b4a852a3bf80c570644456ab466ab714
mm/vmalloc.c: fix memory ordering bug

Read memory barriers must follow the read operations.

Signed-off-by: Dmitry Vyukov <dvyukov@google.com>
Cc: Eric Dumazet <edumazet@google.com>
Acked-by: 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/vmalloc.c