Skip to content
Commit 9e6a57d2 authored by Honggang Li's avatar Honggang Li Committed by Richard Weinberger
Browse files

um: delete unnecessary bootmem struct page array



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: default avatarHonggang Li <enjoymindful@gmail.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 67131230
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