summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorZhong Hongbo <bocui107@gmail.com>2014-12-13 03:56:21 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2014-12-13 23:42:49 +0300
commitba914f481507a0542a7c8a3fc15d89414bc2ebf3 (patch)
tree7e6e11e2b9e1674af128aed4d28e02f6c920efdf /virt
parent2ebba6b7e1d98724d266ae048d8af4f7ca95cafd (diff)
downloadlinux-ba914f481507a0542a7c8a3fc15d89414bc2ebf3.tar.xz
mm: remove the highmem zones' memmap in the highmem zone
Since 01cefaef40c4 ("mm: provide more accurate estimation of pages occupied by memmap") allocate the pages from lowmem for the highmem zones' memmap. So It is not need to reserver the memmap's for the highmem. A 2G DDR3 for the arm platform: On node 0 totalpages: 524288 free_area_init_node: node 0, pgdat 80ccd380, node_mem_map 80d38000 DMA zone: 3568 pages used for memmap DMA zone: 0 pages reserved DMA zone: 456704 pages, LIFO batch:31 HighMem zone: 528 pages used for memmap HighMem zone: 67584 pages, LIFO batch:15 On node 0 totalpages: 524288 free_area_init_node: node 0, pgdat 80cd6f40, node_mem_map 80d42000 DMA zone: 3568 pages used for memmap DMA zone: 0 pages reserved DMA zone: 456704 pages, LIFO batch:31 HighMem zone: 67584 pages, LIFO batch:15 Signed-off-by: Hongbo Zhong <hongbo.zhong@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions