mm-commits.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [merged] fix-memory-ordering-bug-in-mm-vmallocc.patch removed from -mm tree
@ 2014-12-14  4:08 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2014-12-14  4:08 UTC (permalink / raw)
  To: dvyukov, edumazet, iamjoonsoo.kim, mm-commits


The patch titled
     Subject: mm/vmalloc.c: fix memory ordering bug
has been removed from the -mm tree.  Its filename was
     fix-memory-ordering-bug-in-mm-vmallocc.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Dmitry Vyukov <dvyukov@google.com>
Subject: 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>
---

 mm/vmalloc.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff -puN mm/vmalloc.c~fix-memory-ordering-bug-in-mm-vmallocc mm/vmalloc.c
--- a/mm/vmalloc.c~fix-memory-ordering-bug-in-mm-vmallocc
+++ a/mm/vmalloc.c
@@ -2574,10 +2574,10 @@ static void show_numa_info(struct seq_fi
 		if (!counters)
 			return;
 
-		/* Pair with smp_wmb() in clear_vm_uninitialized_flag() */
-		smp_rmb();
 		if (v->flags & VM_UNINITIALIZED)
 			return;
+		/* Pair with smp_wmb() in clear_vm_uninitialized_flag() */
+		smp_rmb();
 
 		memset(counters, 0, nr_node_ids * sizeof(unsigned int));
 
_

Patches currently in -mm which might be from dvyukov@google.com are

origin.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-12-14  4:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-14  4:08 [merged] fix-memory-ordering-bug-in-mm-vmallocc.patch removed from -mm tree akpm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).