summaryrefslogtreecommitdiffstats
path: root/arch/um/drivers
diff options
context:
space:
mode:
authorHonggang Li2014-06-03 07:30:45 +0200
committerRichard Weinberger2014-10-13 17:15:09 +0200
commit9e6a57d2cdee36a6d9c5d5cc3db85713dd416719 (patch)
treecf8fc0074fd53202b6eb552010326ecc58aa7671 /arch/um/drivers
parentum: remove csum_partial_copy_generic_i386 to clean up exception table (diff)
downloadkernel-qcow2-linux-9e6a57d2cdee36a6d9c5d5cc3db85713dd416719.tar.gz
kernel-qcow2-linux-9e6a57d2cdee36a6d9c5d5cc3db85713dd416719.tar.xz
kernel-qcow2-linux-9e6a57d2cdee36a6d9c5d5cc3db85713dd416719.zip
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: Honggang Li <enjoymindful@gmail.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/drivers')
0 files changed, 0 insertions, 0 deletions