Commit 399d8eeb authored by Xishi Qiu's avatar Xishi Qiu Committed by Linus Torvalds

mm: fix some typos in mm/zsmalloc.c

Delete extra semicolon, and fix some typos.

Link: http://lkml.kernel.org/r/586F1823.4050107@huawei.comSigned-off-by: default avatarXishi Qiu <qiuxishi@huawei.com>
Reviewed-by: default avatarSergey Senozhatsky <sergey.senozhatsky@gmail.com>
Acked-by: default avatarMinchan Kim <minchan@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent d3a9d7a3
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
* Usage of struct page flags: * Usage of struct page flags:
* PG_private: identifies the first component page * PG_private: identifies the first component page
* PG_private2: identifies the last component page * PG_private2: identifies the last component page
* PG_owner_priv_1: indentifies the huge component page * PG_owner_priv_1: identifies the huge component page
* *
*/ */
...@@ -364,7 +364,7 @@ static struct zspage *cache_alloc_zspage(struct zs_pool *pool, gfp_t flags) ...@@ -364,7 +364,7 @@ static struct zspage *cache_alloc_zspage(struct zs_pool *pool, gfp_t flags)
{ {
return kmem_cache_alloc(pool->zspage_cachep, return kmem_cache_alloc(pool->zspage_cachep,
flags & ~(__GFP_HIGHMEM|__GFP_MOVABLE)); flags & ~(__GFP_HIGHMEM|__GFP_MOVABLE));
}; }
static void cache_free_zspage(struct zs_pool *pool, struct zspage *zspage) static void cache_free_zspage(struct zs_pool *pool, struct zspage *zspage)
{ {
...@@ -2383,7 +2383,7 @@ struct zs_pool *zs_create_pool(const char *name) ...@@ -2383,7 +2383,7 @@ struct zs_pool *zs_create_pool(const char *name)
goto err; goto err;
/* /*
* Iterate reversly, because, size of size_class that we want to use * Iterate reversely, because, size of size_class that we want to use
* for merging should be larger or equal to current size. * for merging should be larger or equal to current size.
*/ */
for (i = zs_size_classes - 1; i >= 0; i--) { for (i = zs_size_classes - 1; i >= 0; i--) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment