]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - mm/memory_hotplug.c
crypto: x86/aes - Don't use %rbp as temporary register
[karo-tx-linux.git] / mm / memory_hotplug.c
index 6fa7208bcd564ec8fb6bcf25e206aef9bd724ecb..b63d7d1239df22714da632e191ce4d03049daeb0 100644 (file)
@@ -1208,7 +1208,11 @@ static pg_data_t __ref *hotadd_new_pgdat(int nid, u64 start)
 
                arch_refresh_nodedata(nid, pgdat);
        } else {
-               /* Reset the nr_zones, order and classzone_idx before reuse */
+               /*
+                * Reset the nr_zones, order and classzone_idx before reuse.
+                * Note that kswapd will init kswapd_classzone_idx properly
+                * when it starts in the near future.
+                */
                pgdat->nr_zones = 0;
                pgdat->kswapd_order = 0;
                pgdat->kswapd_classzone_idx = 0;