diff options
author | Jianguo Wu <wujianguo@huawei.com> | 2013-09-11 17:21:42 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-11 18:57:35 -0400 |
commit | eee87e1726af8c746f0e15ae6c57a97675f5e960 (patch) | |
tree | 4aa0abe49d0312d847a3aafeafeded3f4b444aad /mm | |
parent | 37b000b640741132eddaa9fbeca1f988139ad7e2 (diff) |
mm/zbud: fix some trivial typos in comments
Signed-off-by: Jianguo Wu <wujianguo@huawei.com>
Cc: Seth Jennings <sjenning@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/zbud.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -16,7 +16,7 @@ | |||
16 | * | 16 | * |
17 | * zbud works by storing compressed pages, or "zpages", together in pairs in a | 17 | * zbud works by storing compressed pages, or "zpages", together in pairs in a |
18 | * single memory page called a "zbud page". The first buddy is "left | 18 | * single memory page called a "zbud page". The first buddy is "left |
19 | * justifed" at the beginning of the zbud page, and the last buddy is "right | 19 | * justified" at the beginning of the zbud page, and the last buddy is "right |
20 | * justified" at the end of the zbud page. The benefit is that if either | 20 | * justified" at the end of the zbud page. The benefit is that if either |
21 | * buddy is freed, the freed buddy space, coalesced with whatever slack space | 21 | * buddy is freed, the freed buddy space, coalesced with whatever slack space |
22 | * that existed between the buddies, results in the largest possible free region | 22 | * 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 | * gfp should not set __GFP_HIGHMEM as highmem pages cannot be used | 243 | * gfp should not set __GFP_HIGHMEM as highmem pages cannot be used |
244 | * as zbud pool pages. | 244 | * as zbud pool pages. |
245 | * | 245 | * |
246 | * Return: 0 if success and handle is set, otherwise -EINVAL is the size or | 246 | * Return: 0 if success and handle is set, otherwise -EINVAL if the size or |
247 | * gfp arguments are invalid or -ENOMEM if the pool was unable to allocate | 247 | * gfp arguments are invalid or -ENOMEM if the pool was unable to allocate |
248 | * a new page. | 248 | * a new page. |
249 | */ | 249 | */ |