Revert "drm/i915: reverse dp link param selection, prefer fast over wide again"
[deliverable/linux.git] / mm / zswap.c
index aeaef0fb562400093a91517e9ce62ca63cb94bed..008388fe7b0ff923b2300504b3a7717869fe12f8 100644 (file)
@@ -347,7 +347,7 @@ static int __zswap_cpu_notifier(unsigned long action, unsigned long cpu)
                        return NOTIFY_BAD;
                }
                *per_cpu_ptr(zswap_comp_pcpu_tfms, cpu) = tfm;
-               dst = kmalloc(PAGE_SIZE * 2, GFP_KERNEL);
+               dst = kmalloc_node(PAGE_SIZE * 2, GFP_KERNEL, cpu_to_node(cpu));
                if (!dst) {
                        pr_err("can't allocate compressor buffer\n");
                        crypto_free_comp(tfm);
This page took 0.027034 seconds and 5 git commands to generate.