X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=mm%2Fzsmalloc.c;h=a1f24989ac23a71aab531f57c5f80140d2967860;hb=6d23f8a5d432337aa2590ea8fd5eee8b0bc28eee;hp=9cc3c0b2c2c13fddddc6d5d52aca4f0b45fdc1ce;hpb=6df383cf9010feed788bf8ce555d77bcc03ed3a8;p=mirror_ubuntu-artful-kernel.git diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c index 9cc3c0b2c2c1..a1f24989ac23 100644 --- a/mm/zsmalloc.c +++ b/mm/zsmalloc.c @@ -25,7 +25,7 @@ * Usage of struct page flags: * PG_private: identifies the first 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) { return kmem_cache_alloc(pool->zspage_cachep, flags & ~(__GFP_HIGHMEM|__GFP_MOVABLE)); -}; +} 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) 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 (i = zs_size_classes - 1; i >= 0; i--) {