]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - mm/vmalloc.c
Merge branch 'isdnloop_checkpatch'
[mirror_ubuntu-artful-kernel.git] / mm / vmalloc.c
index 8a18196fcdff55e15db146ba4b7cf0324af0877e..39c338896416bd9f70d197ec30ddd003d935c65e 100644 (file)
@@ -2574,10 +2574,10 @@ static void show_numa_info(struct seq_file *m, struct vm_struct *v)
                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));