The code could not decide whether to apply the padding to the start or the end of the region, resulting in strange behavior because part of the returned range might not have the right properties. With this patch, padding is now consistently applied at the end of the region, since virtual mmap addresses are allocated from high to low. Also fix a few small related bugs in error handling code. Change-Id: I327814bb3921d7982ffc1296a5bf365d9c79c1d9 |
||
---|---|---|
.. | ||
magic | ||
Makefile.settings |