Commit 84109e15ddc8fe00c832d5228ca2aedf95d13b97
Committed by
Linus Torvalds
1 parent
9cb12d7b4c
Exists in
ti-lsk-linux-4.1.y
and in
10 other branches
mm/page_alloc: fix comment
Add a necessary 'leave'. Signed-off-by: Yaowei Bai <bywxiaobai@163.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
mm/page_alloc.c
... | ... | @@ -172,7 +172,7 @@ |
172 | 172 | * 1G machine -> (16M dma, 784M normal, 224M high) |
173 | 173 | * NORMAL allocation will leave 784M/256 of ram reserved in the ZONE_DMA |
174 | 174 | * HIGHMEM allocation will leave 224M/32 of ram reserved in ZONE_NORMAL |
175 | - * HIGHMEM allocation will (224M+784M)/256 of ram reserved in ZONE_DMA | |
175 | + * HIGHMEM allocation will leave (224M+784M)/256 of ram reserved in ZONE_DMA | |
176 | 176 | * |
177 | 177 | * TBD: should special case ZONE_DMA32 machines here - in those we normally |
178 | 178 | * don't need any ZONE_NORMAL reservation |