Commit 84109e15 authored by Yaowei Bai's avatar Yaowei Bai Committed by Linus Torvalds

mm/page_alloc: fix comment

Add a necessary 'leave'.
Signed-off-by: default avatarYaowei Bai <bywxiaobai@163.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 9cb12d7b
...@@ -172,7 +172,7 @@ static void __free_pages_ok(struct page *page, unsigned int order); ...@@ -172,7 +172,7 @@ static void __free_pages_ok(struct page *page, unsigned int order);
* 1G machine -> (16M dma, 784M normal, 224M high) * 1G machine -> (16M dma, 784M normal, 224M high)
* NORMAL allocation will leave 784M/256 of ram reserved in the ZONE_DMA * NORMAL allocation will leave 784M/256 of ram reserved in the ZONE_DMA
* HIGHMEM allocation will leave 224M/32 of ram reserved in ZONE_NORMAL * HIGHMEM allocation will leave 224M/32 of ram reserved in ZONE_NORMAL
* HIGHMEM allocation will (224M+784M)/256 of ram reserved in ZONE_DMA * HIGHMEM allocation will leave (224M+784M)/256 of ram reserved in ZONE_DMA
* *
* TBD: should special case ZONE_DMA32 machines here - in those we normally * TBD: should special case ZONE_DMA32 machines here - in those we normally
* don't need any ZONE_NORMAL reservation * don't need any ZONE_NORMAL reservation
......
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