um: delete unnecessary bootmem struct page array
authorHonggang Li <enjoymindful@gmail.com>
Tue, 3 Jun 2014 05:30:45 +0000 (13:30 +0800)
committerRichard Weinberger <richard@nod.at>
Mon, 13 Oct 2014 15:15:09 +0000 (17:15 +0200)
1) uml kernel bootmem managed through bootmem_data->node_bootmem_map,
not the struct page array, so the array is unnecessary.

2) the bootmem struct page array has been pointed by a *local* pointer,
struct page *map, in init_maps function. The array can be accessed only
in init_maps's scope. As a result, uml kernel wastes about 1% of total
memory.

Signed-off-by: Honggang Li <enjoymindful@gmail.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/include/shared/mem_user.h
arch/um/kernel/physmem.c
arch/um/kernel/um_arch.c

Simple merge
Simple merge
Simple merge