]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/staging/zcache/zcache-main.c
staging: zcache: fix typos
[karo-tx-linux.git] / drivers / staging / zcache / zcache-main.c
index 855a5bb56a47d8e591873b05e6be15ec6f4f6ee0..6c0f001c3586d3930d8b2d6f4b726cc47eaf0d21 100644 (file)
@@ -651,7 +651,7 @@ static unsigned int zv_max_zsize = (PAGE_SIZE / 8) * 7;
 /*
  * byte count defining poor *mean* compression; pages with greater zsize
  * will be rejected until sufficient better-compressed pages are accepted
- * driving the man below this threshold
+ * driving the mean below this threshold
  */
 static unsigned int zv_max_mean_zsize = (PAGE_SIZE / 8) * 5;
 
@@ -1668,7 +1668,7 @@ static int zcache_new_pool(uint16_t cli_id, uint32_t flags)
        if (cli == NULL)
                goto out;
        atomic_inc(&cli->refcount);
-       pool = kmalloc(sizeof(struct tmem_pool), GFP_KERNEL);
+       pool = kmalloc(sizeof(struct tmem_pool), GFP_ATOMIC);
        if (pool == NULL) {
                pr_info("zcache: pool creation failed: out of memory\n");
                goto out;
@@ -1993,7 +1993,7 @@ static int __init zcache_init(void)
                pr_info("zcache: frontswap enabled using kernel "
                        "transcendent memory and xvmalloc\n");
                if (old_ops.init != NULL)
-                       pr_warning("ktmem: frontswap_ops overridden");
+                       pr_warning("zcache: frontswap_ops overridden");
        }
 #endif
 out: