提交 eee87e17 编写于 作者: J Jianguo Wu 提交者: Linus Torvalds

mm/zbud: fix some trivial typos in comments

Signed-off-by: NJianguo Wu <wujianguo@huawei.com>
Cc: Seth Jennings <sjenning@linux.vnet.ibm.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 37b000b6
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* *
* zbud works by storing compressed pages, or "zpages", together in pairs in a * zbud works by storing compressed pages, or "zpages", together in pairs in a
* single memory page called a "zbud page". The first buddy is "left * single memory page called a "zbud page". The first buddy is "left
* justifed" at the beginning of the zbud page, and the last buddy is "right * justified" at the beginning of the zbud page, and the last buddy is "right
* justified" at the end of the zbud page. The benefit is that if either * justified" at the end of the zbud page. The benefit is that if either
* buddy is freed, the freed buddy space, coalesced with whatever slack space * buddy is freed, the freed buddy space, coalesced with whatever slack space
* that existed between the buddies, results in the largest possible free region * that existed between the buddies, results in the largest possible free region
...@@ -243,7 +243,7 @@ void zbud_destroy_pool(struct zbud_pool *pool) ...@@ -243,7 +243,7 @@ void zbud_destroy_pool(struct zbud_pool *pool)
* gfp should not set __GFP_HIGHMEM as highmem pages cannot be used * gfp should not set __GFP_HIGHMEM as highmem pages cannot be used
* as zbud pool pages. * as zbud pool pages.
* *
* Return: 0 if success and handle is set, otherwise -EINVAL is the size or * Return: 0 if success and handle is set, otherwise -EINVAL if the size or
* gfp arguments are invalid or -ENOMEM if the pool was unable to allocate * gfp arguments are invalid or -ENOMEM if the pool was unable to allocate
* a new page. * a new page.
*/ */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册