[PATCH v2 07/11] MIPS: bootmem: When relocatable, free memory below kernel

2016-03-31 Thread Matt Redfearn
The kernel reserves all memory before the _end symbol as bootmem, however, once the kernel can be relocated elsewhere in memory this may result in a large amount of wasted memory. The assumption is that the memory between the link and relocated address of the kernel may be released back to the

[PATCH v2 07/11] MIPS: bootmem: When relocatable, free memory below kernel

2016-03-31 Thread Matt Redfearn
The kernel reserves all memory before the _end symbol as bootmem, however, once the kernel can be relocated elsewhere in memory this may result in a large amount of wasted memory. The assumption is that the memory between the link and relocated address of the kernel may be released back to the